aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/net2net-pubkey/pretest.dat
blob: b4f48af727ccdc3bbd1d6598bfce6a5bd017e396 (plain)
1
2
3
4
5
6
7
8
9
sun::iptables-restore < /etc/iptables.rules
moon::iptables-restore < /etc/iptables.rules
sun::cd /etc/swanctl; rm x509/* x509ca/*
moon::cd /etc/swanctl; rm x509/* x509ca/*
sun::service charon start 2> /dev/null
moon::service charon start 2> /dev/null
sun::expect-connection gw-gw
moon::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null