summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/sa/node.def
blob: be8f108e4127dddeaae949820bf36d0ae9ce2806 (plain)
1
2
3
4
5
6
7
8
help: Show all active IPsec Security Associations (SA)

run: if pgrep charon >&/dev/null; then
        sudo /usr/sbin/swanctl --list-sas
     else
        echo -e "IPSec Process NOT Running\n"
     fi