diff options
Diffstat (limited to 'testing/tests/ikev1/passthrough/pretest.dat')
-rw-r--r-- | testing/tests/ikev1/passthrough/pretest.dat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ikev1/passthrough/pretest.dat b/testing/tests/ikev1/passthrough/pretest.dat new file mode 100644 index 000000000..2606db192 --- /dev/null +++ b/testing/tests/ikev1/passthrough/pretest.dat @@ -0,0 +1,8 @@ +moon::/etc/init.d/iptables start 2> /dev/null +sun::/etc/init.d/iptables start 2> /dev/null +moon::iptables -I INPUT -i eth1 -s 10.1.0.0/16 -j ACCEPT +moon::iptables -I OUTPUT -o eth1 -d 10.1.0.0/16 -j ACCEPT +moon::ipsec start +sun::ipsec start +moon::sleep 2 +moon::ipsec up net-net |