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.
Affiliate link: Norton 360 antivirus provides enhanced security for your connected devices, a secure VPN for online privacy, Password Manager, Firewall, SafeCam, PC Cloud Backup, Dark Web Monitoring, Parental Control, and more. An all-in-one cybersecurity solution backed by 100% Virus Protection Promise and 60 Day Money Back Guarantee.
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....
CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB: Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440