Your switch needs to do that. OPNsense only understands static VLAN interfaces which you then connect to a switch.
I figured maybe with a firewall that powerful, there were other options.
Quote from: saveNAT on January 12, 2023, 06:09:19 pmI figured maybe with a firewall that powerful, there were other options.Since RADIUS comes free with Windows Server or can be implemented with open source software (FreeRADIUS) on Linux, BSD, ... why are you opposed to using a RADIUS server?
For a home network I would take a step back and reconsider: why dynamic VLAN assignments at all?Many devices will be wirelesss so that is solved with multiple SSIDs mapped to VLANs. Then there's static VLAN assignments to switch ports. Do you really rewire your homw network devices every other day?
OpnSense has a FreeRadius server plugin (os-freeradius), so what is the problem?If you have a Radius-capable switch, you can define as many VLANs as you like and configure the switch ports to 802.1x based on your Radius settings. I do exactly that with Unifi switches.
If someone (child, woman, guest) plugs a device into a network socket, it would be nice if the device was integrated into the corresponding VLAN.In this case, I could perhaps switch all the ports in the switch that are not required to the guest VLAN and switch only special ports to other VLANs if required.Would you see that as a viable alternative?...I will also look at the Radius server in my test setup.The only question is whether the Radius server does not make the entire system extremly complex.Are you getting along well with your Radius server?Are there any breakdowns and how big is the maintenance effort?
So there are only 3 options for the network sockets in the house:1. Switch all unused ports in the switch to the guest VLAN2. Disable all unused ports in the switch3. Use Radius servers
If you want a really secure solution, you need Radius anyway, and certificate-based Radius at that.So I do not get the rationale of avoiding Radius. What are you really trying to accomplish? What kind of in-between would solve that purpose? Maybe I just cannot see it.