summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-ed25519/pretest.dat
blob: f939b3ac42830defecfc66ecddd1970cc6381ed7 (plain)
1
2
3
4
5
6
7
8
9
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::service charon start 2> /dev/null
sun::service charon start 2> /dev/null
moon::expect-connection gw-gw
sun::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null