Setting up LAN access to bridged modem - getting 403 forbidd

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
victorhooi
DD-WRT Novice


Joined: 16 Sep 2006
Posts: 17

PostPosted: Sun Jun 15, 2014 8:42    Post subject: Setting up LAN access to bridged modem - getting 403 forbidd Reply with quote
Hi,

Our router is a Asus RT-N66U running DD-WRT - I've flashed the following:

Code:
dd-wrt.v24-24118_NEWD-2_K3.x-big-RT-N66U.trx


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:

http://www.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration

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:

Code:
ifconfig `nvram get wan_ifname`:0 192.168.1.2 netmask 255.255.255.0


and hit "Save Startup".

I then entered:

Code:
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?

Cheers,
Victor
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum