I have a Draytek 120 configured as modem only bridged mode connected to a Linksys WRT54GL router running tomato. I can connect to the Linksys router web interface using 192.168.1.1. Is there a way to connect to the Draytek web interface without unplugging it from the router and plugging it directly to my compter. I configured the Draytek to have an address of 192.168.2.1, but I don't know how to connect to the to web interface while still attached to the Linksys router.
I tried adding on firewall script page as you said: /usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.0.0/24 -j MASQUERADE
However it did not work when reboot. There is even no response when I ping 192.168.2.1. Can you tell me exactly how I should put the script on my firewall page. My addresses:
modem = 192.168.2.1 router = 192.168.1.1
In your situation, I don't understand why you used 10.0.0.10/24 on your ip addr add command when your modem address is 10.0.0.1 (and not 10.0.0.10). Sorry, I'm not an expert on networking and using ip and iptables commands.
The startup script actually runs ahead of some services. Things that involve networking, for example, are not going to be up yet when the startup script begins. To work around this, use "sleep 5" or a similar command to wait until what you need is up and running.
As part of my digging up old threads as I replace my RTA 1320 with first the TP-Link 8840T (which Doesn't work in IP forwarding). The above steps only work on Tomato for dd-wrt the following wiki page provides the required steps: http://www.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration
So using the example above where the modem = 192.168.2.1
Startup: ifconfig `nvram get wan_ifname`:0 192.168.2.2 netmask 255.255.255.0
Working a treat in Firefox anyway. IE9 seems to get all confused and stop working... Browsing is nice and quick with firefox though so easy to check the settings and sync etc. I'd still suggest directly connecting to the computer when doing firmware updates just to be safe....