Hello! I don't understand why i have internet access from VLAN zone.
OpenWrt 23.05.5
No Firewall rules for VLAN zone
Default Firewall rules for wan zone
Zones
wan
Zone Forwardings - REJECT
Input - reject
Output - accept
Forward - reject
Masquerading - Yes
vlan_zone
Zone Forwardings - REJECT
Input - accept
Output - accept
Forward - reject
Masquerading - No
As far as I understand packets go to router, because Input - accept. Than packets must transfer only between vlan_zone interface and neighbor devices inside zone. I don't understand how packets go to the internet.
Seems like you know what you're doing, nothing jumps out to me. Perhaps your switch is misconfigured ?
Also just to mention, there's the possibility of not using bridge filtering for the vlan (ie don't have a 'vlans', make a bridge for each 'interface' and directly use ethx.x)
Yeah, what i'm saying is there's the possibility to try of instead of making the vlan interfaces off the filtering bridge, just use the eth interfaces directly in separate bridges
A DSA switch requires bridge-vlans inside a single bridge to set up hardware switching properly. A machine that has each Ethernet port directly and separately connected to the CPU (most x86 boxes) can use separate bridges.
What hardware is this actually relevant for though ? Most of the hardware Openwrt supports has unaccelerated drivers where the performance can actually be better not having a bridge on a bridge (not relevant in this case admittedly)
Not trying to start an argument, i'm just saying that when it comes to this it's not always clear cut.
Thank you for your answers! I have experimented with different firewall settings, and sometimes the router behaved as expected, sometimes not.
I don't fully understand what the problem is. Could someone tell me the minimum amount of settings needed to completely isolate the printer's VLAN from others? Based on this information, I might be able to find the cause.
For example, in AX3000T there is 1 wan and 1 bridge with 3 lans by default, but in ER605 all 5 ports are the same from eth0 to eth4.
In my configuration I have 2 bridges. The first one has no vlan filtering and consists of only
the eth4 device. It is needed in case I misconfigure the VLAN and I can connect to the router lan directly.
The second one has a vlan filtering and consists of eth1, eth2 and eth3.
The remaining eth0 which is connected to the ISP does not belong to any bridge.
I can ping eth0 (WAN zone) ip from eth1 (isolated VLAN), but in AX3000T with the same configuration I can't.
From the isolated vlan I can only ping eth0 and the ip of the devices in the isolated vlan.
What should I do to isolate eth0 from eth1 - eth4?
I reread your answer several times and finally understood the meaning of the previous answers. I will try to do as written above, there is no need to receive new answers yet. I will write as soon as there is some result.