Openswan ipsec tool
Version vom 11. Februar 2016, 13:31 Uhr von Thomas (Diskussion | Beiträge)
start
- ipsec setup --start
ipsec_setup: Starting Openswan IPsec U2.6.38/K3.19.0-25-generic...
stop
- ipsec setup --stop
ipsec_setup: Stopping Openswan IPsec...
restart
- ipsec setup --restart
ipsec_setup: Stopping Openswan IPsec... ipsec_setup: stop ordered, but IPsec appears to be already stopped! ipsec_setup: doing cleanup anyway... ipsec_setup: Starting Openswan IPsec U2.6.38/K3.19.0-25-generic...
status
- ipsec setup --status
IPsec running - pluto pid: 9515 pluto pid 9515 No tunnels up
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