UDM CLI COMMAND TO CHECK CONNECTIONS
Unifi uses Strongswan for its IPSec VPN tunnels https://www.strongswan.org/
So check the documentation https://docs.strongswan.org/docs/5.9/swanctl/swanctl.html
Check all IPSec Tunnels
ipsec statusall
To restart ipsec
ipsec restart
Login with SSH
ssh -lroot IP_OF_UDM
To check for configured connections (this will list configured connections but they may not all be working)
swanctl --list-conns
To check for successful associations
swanctl --list-sas
Reboot the UDM
reboot
0 Comments