blob: 3492238f0031a7c2a3acc33ae80b779b4340e52b (
plain)
1
2
3
4
5
6
7
8
9
10
|
moon::rm /etc/ipsec.d/private/moonKey.pem
moon::rm /etc/ipsec.d/cacerts/strongswanCert.pem
sun::rm /etc/ipsec.d/private/sunKey.pem
sun::rm /etc/ipsec.d/cacerts/strongswanCert.pem
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::ipsec start
sun::ipsec start
moon::sleep 1
moon::ipsec up net-net
|