Openswan ipsec tool: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
=start= | =start= | ||
− | ipsec setup --start | + | *ipsec setup --start |
+ | ipsec_setup: Starting Openswan IPsec U2.6.38/K3.19.0-25-generic... | ||
=stop= | =stop= | ||
− | ipsec setup --stop | + | *ipsec setup --stop |
+ | ipsec_setup: Stopping Openswan IPsec... | ||
=restart= | =restart= | ||
− | ipsec setup --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= | =status= | ||
− | ipsec setup --status | + | *ipsec setup --status |
+ | IPsec running - pluto pid: 9515 | ||
+ | pluto pid 9515 | ||
+ | No tunnels up | ||
=conn add= | =conn add= | ||
ipsec auto --add <conn> | ipsec auto --add <conn> |
Version vom 11. Februar 2016, 13:31 Uhr
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