question about this script:
/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE
ip addr add 192.168.1.2/24 dev vlan1 brd +
my modem's IP is 10.0.0.1, so...
/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 10.0.0.0/24 -j MASQUERADE
ip addr add 10.0.0.2/24 dev vlan1 brd +
correct? used to be able to get it to work on my old modem, never got it to work on my new one.
The Tomato/Victek's Tomato Firmware Club, Victek himself is here to help you !
May 13 2009, 11:24 AM
Quote
0.0239sec
0.61
7 queries
GZIP Disabled