mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
10 lines
341 B
Plaintext
Executable File
10 lines
341 B
Plaintext
Executable File
moon::rm /etc/swanctl/rsa/moonKey.pem
|
|
sun::rm /etc/swanctl/rsa/sunKey.pem
|
|
moon::iptables-restore < /etc/iptables.rules
|
|
sun::iptables-restore < /etc/iptables.rules
|
|
moon::systemctl start strongswan
|
|
sun::systemctl start strongswan
|
|
moon::expect-connection gw-gw
|
|
sun::expect-connection gw-gw
|
|
moon::swanctl --initiate --child net-net 2> /dev/null
|