I've just set up my RT-N16 with TomatoUSB. I used to be able to access my DSL modem behind my WRT54G using regular tomato using this script in WAN Up:
ip addr add 192.168.254.1/24 dev vlan1 brd +
/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.254.0/24 -j MASQUERADE
It doesn't seem work on TomatoUSB. Can anyone tell me what I should modify to make it work? I'm assuming the vlan1 is different on TomatoUSB.