Openswan ipsec tool
start
ipsec setup --start
stop
ipsec setup --stop
restart
ipsec setup --restart
status
ipsec setup --status
statusall
ipsec setup --statusall
conn add
ipsec auto --add <conn>
conn up
ipsec auto --up <conn>
conn delete
ipsec auto --delete <conn>
conn down
ipsec auto --down <conn>
reread secrets
ipsec auto --rereadsecrets
list ca certs
ipsec auto --listcacerts
list certs
ipsec auto --listcerts
status of all connections
ipsec auto --status
have a look to the established connections
ipsec look
showdefaults ip, nexthop, interface
ipsec showdefaults
collect debugging infos
ipsec barf --short