I’m having an issue with VLANs being able to ping other VLANs on v25. I have what I think is the same setup on v19 and no device on any VLAN can ping any other VLAN (as I want). My use case is very simple: I have three hard-wired computers and I want them to not be able to in any way see or communicate with the others. One port (port1) will be used for Luci access only, and will be unplugged when not working in Luci.
Here’s how I have this set up. I followed all the DSA documentation here, and also the video by onemarcfifty mentioned in the docs, as well as the two videos and web article from opensourceisawesome. They both basically follow the same procedure but the latter goes slow enough for me to better follow when he does the steps.
I have a Cudy WR3000S, bought on recommendations from people here. All four lan ports were bridged on br-lan by default. I set up four VLANs using the VLAN filtering tab, calling them 10, 20, 30, and 40. I set one (different) port as untagged for each VLAN i.e. port1 is u for 10, port2 is u for 20, etc. I created interfaces for the VLANs and set them up for DHCP.
I created firewall zones for the four VLANs. Here is how I set them up. All of this is exactly what I did in v19 (I understand this uses DSA and so on, I meant the configuration details).
VLAN10 192.168.10.1 lan ==> wan (reject all others) accept accept reject
VLAN20 192.168.20.1 comp1 ==> wan (reject all others) reject accept reject
VLAN30 192.168.30.1 comp2 ==> wan (reject all others) reject accept reject
VLAN40 192.168.40.1 comp3 ==> wan (reject all others) reject accept reject
Wan ==> reject accept drop (drop was default and not reject)
My understanding, and this may not be correct, is that the zone forwards are used to stop traffic between VLANs and Intra zone forwarding is to stop traffic between devices in the same VLAN. Although I don’t have more than one device in a given VLAN I still wanted it set so nothing in a VLAN could talk to another device in the same VLAN, in case say I put a wireless device in that same VLAN in the future. I would group that so they are ‘related’ uses i.e. both work devices, but no need to communicate with each other.
The problem here is when I ping another IP on v19 all pings fail (as I want) from any device pinging any IP address in another VLAN. Now, with this new v25 setup, any device can ping any IP in any VLAN. That’s exactly what I am trying to stop. I did test and confirm that only the lan port (port 1) can access Luci, so that part is working.
Did I configure something incorrectly? This will show my ignorance here, but I at first thought because all the ports are bridged together that’s why this is happening. But opensourceisawesome showed in his article, after he set up his firewall rules, that he could only ping that which he allowed, and couldn’t ping that which he didn’t allow. His bridge looks similar to mine. So, that couldn’t be the reason.
I figure some rules could be written somewhere to stop this, but why is that not needed for my v19 setup, or for the setup (which I just about cloned, at least for the parts I needed) done by opensourceisawesome? Any help here would be greatly appreciated, since I am completely stuck at this point, just when I thought I was done.