aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-10-29 20:39:10 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-11-11 16:41:15 +0100
commit65f74cd13da3d9cc852db1637ec61ce019ec1815 (patch)
treebcfd024e515cb10e5c5dd004c6312d0e2ee15356 /testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat
parent4402013f056e2cd6783617fce2ee473a44b999fe (diff)
downloadstrongswan-65f74cd13da3d9cc852db1637ec61ce019ec1815.tar.bz2
strongswan-65f74cd13da3d9cc852db1637ec61ce019ec1815.tar.xz
testing: Added legacy ipv6-stroke scenarios
Diffstat (limited to 'testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat')
-rw-r--r--testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat b/testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat
new file mode 100644
index 000000000..a14b3cf79
--- /dev/null
+++ b/testing/tests/ipv6-stroke/net2net-ikev2/pretest.dat
@@ -0,0 +1,13 @@
+moon::iptables-restore < /etc/iptables.drop
+sun::iptables-restore < /etc/iptables.drop
+moon::ip6tables-restore < /etc/ip6tables.rules
+sun::ip6tables-restore < /etc/ip6tables.rules
+alice::"ip route add fec2:\:/16 via fec1:\:1"
+moon::"ip route add fec2:\:/16 via fec0:\:2"
+sun::"ip route add fec1:\:/16 via fec0:\:1"
+bob::"ip route add fec1:\:/16 via fec2:\:1"
+moon::ipsec start
+sun::ipsec start
+moon::expect-connection net-net
+sun::expect-connection net-net
+moon::ipsec up net-net