While the alias is available after enabling the unit, we don't actually do that in our testing environment (adding a symlink manually would work too, then again, why not just use the proper name?).
11 lines
344 B
Plaintext
11 lines
344 B
Plaintext
moon::swanctl --terminate --ike gw-gw
|
|
moon::systemctl stop strongswan
|
|
sun::systemctl stop strongswan
|
|
moon::iptables-restore < /etc/iptables.flush
|
|
sun::iptables-restore < /etc/iptables.flush
|
|
moon::ip -s link show xfrm-moon-out
|
|
moon::ip -s link show xfrm-moon-in
|
|
moon::ip link del xfrm-moon-out
|
|
moon::ip link del xfrm-moon-in
|
|
sun::rm /etc/updown
|