diff options
Diffstat (limited to 'testing/tests/swanctl/net2net-start/pretest.dat')
-rwxr-xr-x | testing/tests/swanctl/net2net-start/pretest.dat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/tests/swanctl/net2net-start/pretest.dat b/testing/tests/swanctl/net2net-start/pretest.dat new file mode 100755 index 000000000..0560092c5 --- /dev/null +++ b/testing/tests/swanctl/net2net-start/pretest.dat @@ -0,0 +1,9 @@ +sun::iptables-restore < /etc/iptables.rules +moon::iptables-restore < /etc/iptables.rules +sun::service charon start 2> /dev/null +moon::service charon start 2> /dev/null +sun::swanctl --load-creds 2> /dev/null +moon::swanctl --load-creds 2> /dev/null +sun::swanctl --load-conns 2> /dev/null +moon::swanctl --load-conns 2> /dev/null +moon::sleep 1 |