The network namespace scenario requires a kernel patch in 4.19 and 4.20 kernels (the fix is included in 5.0 kernels).
11 lines
360 B
Plaintext
11 lines
360 B
Plaintext
moon::swanctl --terminate --ike gw-gw
|
|
moon::systemctl stop strongswan-swanctl
|
|
sun::systemctl stop strongswan-swanctl
|
|
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
|