I need to allow access from main network to the devices on the LAN on GL-AR300M

My main network is 10.1.1.1. The network through the AR300M is on 10.1.3.1. I have a NAS set up on the 10.1.3.1 network but I can’t access it from devices on 10.1.1.1.

10.1.1.1 (WAN) –> 10.1.3.1 (AR300M) —> 10.1.3.21 (NAS)

On the dd-wrt device I am currently using all I had to do was add the following script to the firewall: iptables -I FORWARD -s 10.1.1.0/24 -j ACCEPT

I’ve spent hours trying to figure this out with no luck.

Did you try putting it in:

Luci > Firewall > custom rules?

AR300M reject the data input.

You can just enable data forward in wan zone in firewall.

The same iptables command doesn’t work in openwrt? Seems it should work as well

 

No matter what I do it will not allow access from the 10.1.1.1 to the 10.1.3.1 network. I am giving up since I can’t load dd-wrt on this thing. Looks like I have to find a different (dd-wrt) router.

I don’t see a reason this doesn’t work in OpenWrt.

But I am not sure what you have tried in detail.

Just put “iptables -I FORWARD -s 10.1.1.0/24 -j ACCEPT” in /etc/firewall.user should do the job.

This can be done by input the command in Luci->network->firewall->custom rules