What is the 3rd link you mean ?
The transit route must be untagged, or it will not work properly in my tests, but maybe I missed something in the early times I tested it
The transit route can be untagged on a dedicated interface on both Switch and pfsense. However, it can also be tagged to the pfsense Trunk on the Switch. In this case, we add it in pfsense as a dedicated VLAN300 like we did for other VLANs on the Trunk. You then assign VLAN300 in pfsense to the interface holding all the other trunk VLANs
The management VLAN 1 was added on purpose. I can untag it to the trunk, but I had the spare interface
pfSense only does the DHCP and DNS services + WAN <-> LAN Firewall. It is not concerned by any inter VLAN setup
I need the DNS resolver to restrict some clients to openDNS services. The DNS resolver makes it possible to even limit the DNS over HTTPS traffic in addition to DNS-over-TLS
The rules in pfSense are easy to setup. Only Transit interface needs internet control rules. The other interfaces need simple redundant rules, except for the DNS restrictions. So it is much more friendly than the ACLs in teh switch. If it supported a good 10 Gb switching I would clearly use pfSense. But I do not have the needed switch in that location neither the 10 Gb interface on pfSense. And I doubt it can do any efficient routing at that bandwidth with my i3 CPU
Necromancing this post to update a few things and correct some wrong assumptions
In the last 4 years I migrated the L3 SG350 switch to a 10Gb CBS350 Switch with same config
Now, I decided to upgrade pfsense to my new 10Gb WAN connection. I however had only a LAN card with 2x 10 Gbps porrts to replace my current 4x 1Gbps card
I had to merge my interface in a single Trunk
Tagging the Transit route VLAN on the Switch into the main Trunk, and doing the same in pfsense:
- create a VLAN300 in pfsense and assign it to the trunk interface, igb1 in my case
- assign the current VLAN300 transit from current dedicated interface igb0 to the new created VLAN300 on igb1
- all firewall rules are properly migrated
- the transit VLAN300 is now tagged in the main Trunk and we spare one port
I edited my post to properly reflect the changes for anyone looking at this setup
It's working through 3 hardware upgrades and moving to 10gbps