swazz99jhb
Well-Known Member
Hi
I'm trying to access my Modem GUI from my Linksys Router network with no success.
Please assist. I've read about the option of running the cable from the WAN to LAN Port 1 and Modem then plugged into a LAN port 2, but someone said that is not only waisting ports but also a huge security risk?
I've tried the following but when I access 192.168.2.250 or 192.168.2.50 I go to the Linksys GUI.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=427684
#Firewall Script:
iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE
#Startup Script:
ifconfig `nvram get wan_ifname`:0 192.168.2.50 netmask 255.255.0.0
as well as
http://www.dslreports.com/forum/r20459971-HOWTO-Connecting-to-modem-through-router
#Startup Script:
ifconfig vlan1 192.168.2.250
#Firewall Script:
iptables -A forwarding_rule -d 192.168.2.50 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.2.50 -j MASQUERADE
My Setup is as follow:
Huawei Modem: Bridged
IP: 192.168.2.50
Sub Net: 255.255.0.0
Linksys Router: WRT54-GL running DD-Wrt
IP: 192.168.2.1
Sub Net: 255.255.255.0
Thanks
I'm trying to access my Modem GUI from my Linksys Router network with no success.
Please assist. I've read about the option of running the cable from the WAN to LAN Port 1 and Modem then plugged into a LAN port 2, but someone said that is not only waisting ports but also a huge security risk?
I've tried the following but when I access 192.168.2.250 or 192.168.2.50 I go to the Linksys GUI.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=427684
#Firewall Script:
iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE
#Startup Script:
ifconfig `nvram get wan_ifname`:0 192.168.2.50 netmask 255.255.0.0
as well as
http://www.dslreports.com/forum/r20459971-HOWTO-Connecting-to-modem-through-router
#Startup Script:
ifconfig vlan1 192.168.2.250
#Firewall Script:
iptables -A forwarding_rule -d 192.168.2.50 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.2.50 -j MASQUERADE
My Setup is as follow:
Huawei Modem: Bridged
IP: 192.168.2.50
Sub Net: 255.255.0.0
Linksys Router: WRT54-GL running DD-Wrt
IP: 192.168.2.1
Sub Net: 255.255.255.0
Thanks