Setting up a VPN SSID on UniFi
UDM/UXG/Gateways/DreamRouter should all be able to do it.
Steps to take
- Setup a VLAN
- Setup an SSID
- Setup the VPN Client
- Setup the Policy based routing
Setting up the VLAN


Setup an SSID


Setup the VPN client

upload your WireGuard config

I had to tweak my AzireVPN config a little bit (delete the IPv6 entry) as it kept saying
Configuration file contains an invalid or is missing the below WireGuard option. Learn more
IPv4 address on Address line in [Interface] section is not valid. Correct format is Address = 192.168.3.2/32


delete the bit after the comma

hit save, and get it connected.
Setup the Policy based routing

don’t enable fallback!
thats it! your SSID will now use the VPN