From 7b0305f59ddab9ea026b202a8c569912e5bf9a90 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Wed, 4 Jul 2007 23:47:20 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (4.1.4) --- testing/tests/ikev1/passthrough/pretest.dat | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testing/tests/ikev1/passthrough/pretest.dat (limited to 'testing/tests/ikev1/passthrough/pretest.dat') 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 -- cgit v1.2.3