deny WAN access to VLAN10 also denies LAN access from VLAN1

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2
Author Message
zdsf
DD-WRT Novice


Joined: 09 Nov 2022
Posts: 20

PostPosted: Wed May 24, 2023 4:16    Post subject: Reply with quote
I have factory reset the router and just set up the VLAN using GUI according to https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=334342 : "Simple LAN side port VLAN Port 1-3 are in VLAN1, Port 4 is in VLAN3"

That's all. Nothing changed from factory otherwise but the problem still persists. When a MAC address on VLAN3 is denied internet access, it also becomes inaccessible from VLAN1. I feel without anyone trying to replicate, we will be in a circular discussion.
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2997
Location: Germany

PostPosted: Wed May 24, 2023 7:45    Post subject: Reply with quote
And we still have no idea how exactly your router is configured.

In the example "Net Isolation" is enabled - if "Net Isolation" is enabled then of course there can be no traffic between br0 and br1.

But you say in an earlier post that you don't have "Net Isolation" enabled.

So I tested the example without "Net Isolation" enabled for br1.

Then I blocked the internet access via iptable rule for a VLAN3 device = result the device has no internet access anymore but the access VLAN1<-->VLAN3 still works.

So no idea what you are doing but you are doing it wrong.

Code:
:~$ ifconfig
enp0s31f6: inet 192.168.5.135

:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) Bytes Daten.
Von 192.168.5.1 icmp_seq=1 Zielport nicht erreichbar
Von 192.168.5.1 icmp_seq=2 Zielport nicht erreichbar
Von 192.168.5.1 icmp_seq=3 Zielport nicht erreichbar

:~$ ping 192.168.1.110
PING 192.168.1.110 (192.168.1.110) 56(84) Bytes Daten.
64 Bytes von 192.168.1.110: icmp_seq=1 ttl=63 Zeit=0.969 ms
64 Bytes von 192.168.1.110: icmp_seq=2 ttl=63 Zeit=0.897 ms


Removing the rule

Code:
root@DD-WRT:~# iptables -D FORWARD -i br1 -o $(get_wanface) -m mac --mac-source
4C:CC:6A:11:22:33 -m state --state NEW -j REJECT


Code:
:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) Bytes Daten.
64 Bytes von 8.8.8.8: icmp_seq=1 ttl=119 Zeit=10.6 ms
64 Bytes von 8.8.8.8: icmp_seq=2 ttl=119 Zeit=10.3 ms
64 Bytes von 8.8.8.8: icmp_seq=3 ttl=119 Zeit=10.3 ms
^C
--- 8.8.8.8 ping-Statistik ---
3 Pakete übertragen, 3 empfangen, 0% Paketverlust, Zeit 2003ms
rtt min/avg/max/mdev = 10.313/10.414/10.595/0.128 ms

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
zdsf
DD-WRT Novice


Joined: 09 Nov 2022
Posts: 20

PostPosted: Wed May 24, 2023 21:24    Post subject: Reply with quote
As per the initial post, MAC address internet blocking is done through the GUI: >>Access restrictions>>WAN Access.

blocking a MAC through an IPtable rule works fine, but from the GUI it doesnt. If this question seems to be wasting the time of the community members, I won't pursue it further.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2997
Location: Germany

PostPosted: Thu May 25, 2023 8:03    Post subject: Reply with quote
The solution was already given to you in the first reply.

You have never written that it works, but only that it does not work - so yes, you are wasting our time.

Especially with complicated setups with multiple subnets and VLANs and VAPs you can not set everything in the GUI.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
zdsf
DD-WRT Novice


Joined: 09 Nov 2022
Posts: 20

PostPosted: Thu May 25, 2023 13:34    Post subject: Reply with quote
I apologize for shedding light on a problem in the GUI. Maybe GUI-oriented users can either dig in the forums or move on to a different platform.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
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