I need to set the WAN interface to a specific tagged VLAN on my HeX but have so far been unable to figure out the correct way to do this.
My ISP provides an hybrid connection where untagged traffic is CGNAT and does not get a public IP and you have to address a specific VLAN to avoid CGNAT. All I have read about VLANS seems to require bridging them but I don't think having my WAN and internal VLANS on the same bridge is a good idea.
I currently use a Unifi USG and this has a simple checkbox on the WAN connection to tag the traffic. If I was doing this on pfsense, etc. I would simply create an eth0.123 interface and set that as the WAN, assuming the correct VLAN was 123.
I would really appreciate it if someone would elighten me as to the correct way to do this, ideally preserving any hardware offload....