summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/passthrough/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/passthrough/pretest.dat')
-rw-r--r--testing/tests/ikev1/passthrough/pretest.dat3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/tests/ikev1/passthrough/pretest.dat b/testing/tests/ikev1/passthrough/pretest.dat
index 2606db192..6b5295469 100644
--- a/testing/tests/ikev1/passthrough/pretest.dat
+++ b/testing/tests/ikev1/passthrough/pretest.dat
@@ -2,6 +2,9 @@ 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::ip rule add pref 50 table 50
+moon::ip route add 192.168.0.254 via PH_IP_MOON table 50
+moon::ip route add 10.1.0.0/16 via PH_IP_MOON1 table 50
moon::ipsec start
sun::ipsec start
moon::sleep 2