diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-07-05 00:05:56 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-07-05 00:05:56 +0000 |
commit | 5db544cc26db378616a46dfa22138f0008cf2930 (patch) | |
tree | ff9254d87967bb6f703a5ab5e63edcde2e8a6c17 /testing/tests/ikev1/protoport-pass | |
parent | 3d44c2edf1a3663c7d4acc4434bc8a3abace1ebf (diff) | |
download | vyos-strongswan-5db544cc26db378616a46dfa22138f0008cf2930.tar.gz vyos-strongswan-5db544cc26db378616a46dfa22138f0008cf2930.zip |
- Updated to new upstream release.
Diffstat (limited to 'testing/tests/ikev1/protoport-pass')
4 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev1/protoport-pass/hosts/carol/etc/ipsec.conf b/testing/tests/ikev1/protoport-pass/hosts/carol/etc/ipsec.conf index 093f9b1fc..913e6d91a 100755 --- a/testing/tests/ikev1/protoport-pass/hosts/carol/etc/ipsec.conf +++ b/testing/tests/ikev1/protoport-pass/hosts/carol/etc/ipsec.conf @@ -14,7 +14,6 @@ conn %default conn home-icmp left=PH_IP_CAROL - leftnexthop=%direct leftid=carol@strongswan.org leftcert=carolCert.pem leftprotoport=icmp diff --git a/testing/tests/ikev1/protoport-pass/hosts/moon/etc/ipsec.conf b/testing/tests/ikev1/protoport-pass/hosts/moon/etc/ipsec.conf index e64b3be7a..d941e81ef 100755 --- a/testing/tests/ikev1/protoport-pass/hosts/moon/etc/ipsec.conf +++ b/testing/tests/ikev1/protoport-pass/hosts/moon/etc/ipsec.conf @@ -14,7 +14,6 @@ conn %default conn rw-icmp left=PH_IP_MOON - leftnexthop=%direct leftsubnet=10.1.0.0/16 leftprotoport=icmp leftid=@moon.strongswan.org diff --git a/testing/tests/ikev1/protoport-pass/posttest.dat b/testing/tests/ikev1/protoport-pass/posttest.dat index 94a400606..d6f014882 100644 --- a/testing/tests/ikev1/protoport-pass/posttest.dat +++ b/testing/tests/ikev1/protoport-pass/posttest.dat @@ -1,4 +1,5 @@ moon::ipsec stop carol::ipsec stop +carol::ip route del 10.1.0.0/16 via PH_IP_MOON moon::/etc/init.d/iptables stop 2> /dev/null carol::/etc/init.d/iptables stop 2> /dev/null diff --git a/testing/tests/ikev1/protoport-pass/pretest.dat b/testing/tests/ikev1/protoport-pass/pretest.dat index 13b4ad4a0..37f545062 100644 --- a/testing/tests/ikev1/protoport-pass/pretest.dat +++ b/testing/tests/ikev1/protoport-pass/pretest.dat @@ -4,6 +4,7 @@ moon::iptables -I FORWARD -o eth0 -p tcp -s 10.1.0.0/16 --sport ssh -jACCEPT carol::/etc/init.d/iptables start 2> /dev/null carol::iptables -I INPUT -i eth0 -p tcp -s 10.1.0.0/16 --sport ssh -d PH_IP_CAROL -jACCEPT carol::iptables -I OUTPUT -o eth0 -p tcp -d 10.1.0.0/16 --dport ssh -s PH_IP_CAROL -jACCEPT +carol::ip route add 10.1.0.0/16 via PH_IP_MOON moon::ipsec start carol::ipsec start carol::sleep 2 |