VLAN interfaces and firewall rules

Started by litk, December 05, 2019, 02:09:09 PM

Previous topic - Next topic
Hi,
I created some VLAN interfaces assingment them to LAN interface but how to create firewall rules for this interfaces, now? Only LAN interface is in the firewall rules section.

Hi,

After creating a VLAN device you will still have to assign it as a new interface and enable and configure it under Interfaces: Assignments.


Cheers,
Franco

I see now, thank you.

This is unintuitive like many other things than pfsense.

How so, you need to create a new interface, once that is done you need to set the normal interface params, IP addresses etc. You would have to do that with any new interface, VLAN or otherwise.


If you add DHCP servers to that interface then automatic rules are also created. However if you wish to limit access between the vlans then you need to add rules. I would not call that unintuitive. There's a very good wiki that will guide you through it.


Up until the start of last week I had a single LAN, now I have three VLANs and one is isolated from the others as it's purely for my IoT devices. All three support Ipv4 and Ipv6 dhcp.


I expected to hit problems but it took me all of an hour to set it up and test and it all worked perfectly. Took me longer to set up my switches and WAPs!
OPNsense 25.7a - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member