Request - DSL Modem Access
Posted: Sun Nov 29, 2009 7:33 pm
Hi all.
It's already been discussed here and a solution presented by pbix - the only downside is that upon a FW upgrade you have to manually implement this each time. Not a big deal, just thought it might make things easier
http://www.gargoyle-router.com/phpbb/vi ... ?f=5&t=364
Cheers,
callsignapollo
It's already been discussed here and a solution presented by pbix - the only downside is that upon a FW upgrade you have to manually implement this each time. Not a big deal, just thought it might make things easier
Code: Select all
MODEM_IP="10.x.x.1"
VLAN_IP="10.x.x.2"
ifconfig eth0.1 $VLAN_IP netmask 255.255.255.0
iptables -A forwarding_rule -d $MODEM_IP -j ACCEPT
iptables -t nat -A POSTROUTING -d $MODEM_IP -j MASQUERADE
Cheers,
callsignapollo