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
1 | ipsec statusall |
To restart ipsec
1 | ipsec restart |
Login with SSH
1 | ssh -lroot IP_OF_UDM |
To check for configured connections (this will list configured connections but they may not all be working)
1 | swanctl --list-conns |
To check for successful associations
1 | swanctl --list-sas |
Reboot the UDM
1 | reboot |
0 Comments