Hi - I have a bridged modem in front of an Asus RT-N16U running 3.0.0.4.374.33. I have a nat-start script in /jffs/scripts that has the one line:
I also have a wan-start script:
Now.... the WAN interface always seems to have its 10.0.0.111 address no worries. It is the NAT that seems to drop off. I find that sometimes I can't connect to the bridged modem on 10.0.0.138 but if I SSH onto the RT-N16U and run :
it all starts working again. Any ideas ?
Code:
iptables -t nat -I POSTROUTING -o `nvram get wan0_ifname` -j MASQUERADE
I also have a wan-start script:
Code:
ifconfig `nvram get wan0_ifname`:0 10.0.0.111 netmask 255.255.255.0
Now.... the WAN interface always seems to have its 10.0.0.111 address no worries. It is the NAT that seems to drop off. I find that sometimes I can't connect to the bridged modem on 10.0.0.138 but if I SSH onto the RT-N16U and run :
Code:
/jffs/scripts/nat-start
it all starts working again. Any ideas ?
Last edited: