Written by James McDonald

February 14, 2023

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

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…