diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-08 21:52:20 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-08 21:52:20 +0200 |
commit | d9e1b4c033c6cf0e98798be7baa1d7fc6febb70f (patch) | |
tree | 91a7434ebfafa74c2ab0f268b94d295377a74f21 /testing/tests/ikev2/dynamic-two-peers/pretest.dat | |
parent | 68f3e2462ab3fc145a8643fd5d99ebf70a75ab50 (diff) | |
download | strongswan-d9e1b4c033c6cf0e98798be7baa1d7fc6febb70f.tar.bz2 strongswan-d9e1b4c033c6cf0e98798be7baa1d7fc6febb70f.tar.xz |
added ikev2/dynamic-two-peers scenario
Diffstat (limited to 'testing/tests/ikev2/dynamic-two-peers/pretest.dat')
-rw-r--r-- | testing/tests/ikev2/dynamic-two-peers/pretest.dat | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tests/ikev2/dynamic-two-peers/pretest.dat b/testing/tests/ikev2/dynamic-two-peers/pretest.dat new file mode 100644 index 000000000..6596a2527 --- /dev/null +++ b/testing/tests/ikev2/dynamic-two-peers/pretest.dat @@ -0,0 +1,12 @@ +moon::mv /etc/hosts /etc/hosts.ori +moon::mv /etc/hosts.stale /etc/hosts +moon::/etc/init.d/iptables start 2> /dev/null +carol::/etc/init.d/iptables start 2> /dev/null +dave::/etc/init.d/iptables start 2> /dev/null +carol::ipsec start +dave::ipsec start +moon::ipsec start +carol::sleep 2 +carol::ipsec up moon +dave::ipsec up moon +carol::sleep 1 |