Joined: 16 Sep 2006
|Posted: Sun Jun 15, 2014 8:42 Post subject: Setting up LAN access to bridged modem - getting 403 forbidd
Our router is a Asus RT-N66U running DD-WRT - I've flashed the following:
Our ADSL2+ modem is a TP-Link TD-8817, in bridge mode, with DD-WRT doing the PPPoE authentication.
I am following this guide to setup LAN access to the bridged modem:
I changed the LAN IP from 192.168.1.2 (old) to 192.168.2.1 (new) and ran "reboot" from the shell, and all seemed to be well.
Then I went to Administration/Commands.
I entered the following:
|ifconfig `nvram get wan_ifname`:0 192.168.1.2 netmask 255.255.255.0 |
and hit "Save Startup".
I then entered:
|iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE |
It took a bit, but the modem has now come back up.
I'm SSH-ed in, and I'm doing a port tunnel from 192.168.1.1:80 to port 8002 locally.
However, when I try to access http://localhost:8002, all I get is a white page with one box:
I'm also getting 403 forbidden on a bunch of resources (CSS and JS).
Any thoughts on what's going on here?