From current events, I would now like to summarize again all about the DLink 360-T.
The data for the telnet login, user "root" and password "admin". You should change this but as soon as possible via the web interface.
Modem as a router
- Ye log into a web interface of the modem and provides a data connection with the pppoe connection. To give one your connection and removes the Hacken at "On Demand" (not going to the modem).
- Now on Status> Connection Status and dial.
- Now you log onto via telnet, and give
route default netmask 0.0.0.0 dev ppp0
one. - Now it would take more than just the gateway IP of the DSL modem and the DNS server of your provider.
Port shares one can now easily perform using "iptables". Here the example of eMule ports:
TCP | 4661
TCP | 4662
UDP | 4665
UDP | 4672
Zielrechner bei mir war 192.168.1.2
iptables -t nat -A PREROUTING -j DNAT -p tcp -s 0/0 –-dport 4661 –-to-destination 192.168.1.2 -i ppp0
iptables -t nat -A PREROUTING -j DNAT -p tcp -s 0/0 –-dport 4662 –-to-destination 192.168.1.2 -i ppp0
iptables -t nat -A PREROUTING -j DNAT -p udp -s 0/0 –-dport 4665 –-to-destination 192.168.1.2 -i ppp0
iptables -t nat -A PREROUTING -j DNAT -p udp -s 0/0 –-dport 4672 –-to-destination 192.168.1.2 -i ppp0
DHCP server
- Ye logged via telnet to the modem
- Go to the directory / var / tmp and have here is the file where all records relating to the DHCP server udhcpd.conf be made.
- To change the configuration it just puts a udhcpd.conf from the network and then brings them to you via wget on the modem.
Here is my example:
start 192.168.0.3
end 192.168.0.254
inflease_time 604800
interface br0
opt router 192.168.0.1
opt dns 192.168.0.1
opt subnet 255.255.255.0
opt lease 3600
conflict_time 60
lease_file /var/tmp/udhcpd.leases
own HTTP server
- Is it any wonder again just log in via Telnet.
- Now enter "ps" and the "thttpd" services seek out and kill by fire.
- Now you create a new directory (mkdir "/ var / tmp / www /") and starts the server with
/usr/sbin/thttpd -g -d /var/tmp/www -u root -p 80
again. - Now you can store it in the directory / var / tmp / www / your HTML files.
To have a way to perform all changes automatically on start up now I've found yet, unfortunately.
Sample page on the modem: body-snatcher.ath.cx
Mfg. BODY-Snatch
PS: If you did not understand something, only the and the by then still read and post here.