This ensures that packets on sun are processed on a particular CPU and not randomly on one, which causes expected SAs not to get created or other weird things.
7 lines
234 B
Plaintext
Executable File
7 lines
234 B
Plaintext
Executable File
moon::swanctl --terminate --ike gw-gw 2> /dev/null
|
|
moon::systemctl stop strongswan
|
|
sun::systemctl stop strongswan
|
|
moon::iptables-restore < /etc/iptables.flush
|
|
sun::iptables-restore < /etc/iptables.flush
|
|
sun::set-cpu-affinity eth1 0-1
|