mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-24 00:00:25 -05:00
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?).
10 lines
382 B
Plaintext
10 lines
382 B
Plaintext
moon::swanctl --terminate --ike gw-gw 2> /dev/null
|
|
moon::systemctl stop strongswan
|
|
sun::systemctl stop strongswan
|
|
alice::"ip route del fec2:\:/16 via fec1:\:1"
|
|
moon::"ip route del fec2:\:/16 via fec0:\:2"
|
|
sun::"ip route del fec1:\:/16 via fec0:\:1"
|
|
bob::"ip route del fec1:\:/16 via fec2:\:1"
|
|
moon::iptables-restore < /etc/iptables.flush
|
|
sun::iptables-restore < /etc/iptables.flush
|