WAN access restriction also blocks local network routing

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
kylehase
DD-WRT Novice


Joined: 22 Jun 2014
Posts: 5

PostPosted: Sun Sep 27, 2020 15:11    Post subject: WAN access restriction also blocks local network routing Reply with quote
I'm not sure if this is a bug or working as intended.

My primary network is 192.168.1.0/24 and guest (IoT) wifi on 192.168.2.0/24 with router on 192.168.1.1.

I have a few firewall rules enabling full access from primary LAN to guest LAN as well as limited access from guest LAN to the MQTT port on a primary LAN host. This all works perfectly so I'm hoping to refrain from posting my iptables but will post redacted if it is needed.

My goal is to enhance privacy by blocking Internet access for some IoT devices, so I enabled WAN access restrictions from the GUI for select IoT hosts. While it did work, it also blocked those hosts from reaching the MQTT server on the primary LAN. In other words, blocking WAN access doesn't just block WAN, it blocks all routing.

Is this a bug? Shouldn't WAN access restrictions only block exiting from WAN?
For now I will have to use iptables to achieve the same.


DD-WRT v3.0-r43904 std (07/23/20)
ASUS RT-AC68U
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Sun Sep 27, 2020 15:33    Post subject: Reply with quote
As your firewall rules are probably only containing private IP addresses there is no need to hide them.

I never used those access restrictions but I took a quick look and there is no out interface set so it seems to block more than just WAN access.

Just use your own rule to block:
https://wiki.dd-wrt.com/wiki/index.php/Iptables_command

I will transfer this thread to the appropriate forum (Advanced networking)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kylehase
DD-WRT Novice


Joined: 22 Jun 2014
Posts: 5

PostPosted: Mon Sep 28, 2020 1:25    Post subject: Reply with quote
Thanks for confirming how WAN restrictions are implemented. Given that it blocks more than just WAN, isn't that a bug?

In any case, I've used iptables to block output to ppp0 for those hosts.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum