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

April 2026 Update! the error below should no longer happen https://community.ui.com/releases/UniFi-Network-Application-10-2-105/cf38dace-ce91-4e4a-8ab7-a1d2db30aa55

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