Add a VLAN to OPNsense in Just 26 Clicks Across 6 Screens

28 points by mtlynch


madrilenyo

Yeah the UX is pretty bad but we shouldn't complain if we're not paying for it / offering to improve it (I note you do pay, of course). You don't create a VLAN very often.

My biggest tip is to collapse the sidebar so you can merely hover your way through the deep menus, instead of having to hover AND click each submenu (don't clear your cookies though, as that's where the pref is saved).

Also make use of the search bar in the top right - it searches the menus

ner0n

I've been setting up OPNsense lately, and wandering through these screens. The pain is real.

dgl

Meanwhile on OpenBSD I can do something like:

echo vnetid 111 parent igc1 > /etc/hostname.vlan111
echo inet 10.1.111.1/24 >> /etc/hostname.vlan111
sh /etc/netstart vlan111

OK, setting up DHCP service or adding that VLAN to a bridge/veb is more complex, but this is easy to reason about. I also like that per man netstart this hasn’t changed for a long time (4.0BSD is 1980). edit: I realised this can’t be right as other BSDs do it differently. In 4.0BSD there is a netstart but it’s quite different (a C wrapper around a daemon to manage the network.)

cajually

Been using OPNsense for about 5 years, done this and much more complicated ( in OPNsense ) setup. And it does what I want it to do but I hate it.

My next router utility machine will run nixos. I will probably spend a lot more time setting it up, setting up fewer things but I will not be anywhere near as reluctant to change something.

sarcasticadmin

m0n0wall was the last usable UI for these BSD firewalls

I definitely would encourage switching to vanilla OpenBSD/FreeBSD for sanity.