opendns FRITZ!Box Fon WLAN 7170

This is how I configured my FRITZ!Box Fon WLAN 7170. Using this configuration, I do not need to configure the various PCs in my home network. My phone is connected to the Fritz!Box. You should only do this if you are comfortable with unix commands like cd and vi.
1. Activate Telnet using the telephone with #96*7*
2. In the command prompt (cmd) enter telnet fritz.box
3. If a password is requested, enter your Fritz!Box password
4. Enter "cd /var/flash"
5. Enter "nvi ar7.cfg"

ip forward

em /etc/sysctl.conf descomentar a linha net.ipv4.ip_forward = 1.
depois executar:

#sysctl -p /etc/sysctl.conf

para ativar o nat:

up iptables -t nat -A POSTROUTING -o $IFACE -j MASQUERADE
down iptables -t nat -D POSTROUTING -o $IFACE -j MASQUERADE

no interface que liga à internet

Subscrever