aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/rw-whitelist/hosts/dave
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-05-12 21:11:01 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-05-12 21:11:01 +0200
commit8afbc768f3ad19a6e762048d5755391638d0c439 (patch)
treec3ae7e3cd78a4fd8f9a4a988fbf643e25a578430 /testing/tests/ikev2/rw-whitelist/hosts/dave
parent6fd23444eaf26a7ddaf89f26ca322886ab0e4938 (diff)
downloadstrongswan-8afbc768f3ad19a6e762048d5755391638d0c439.tar.bz2
strongswan-8afbc768f3ad19a6e762048d5755391638d0c439.tar.xz
added ikev2/rw-whitelist scenario
Diffstat (limited to 'testing/tests/ikev2/rw-whitelist/hosts/dave')
-rwxr-xr-xtesting/tests/ikev2/rw-whitelist/hosts/dave/etc/ipsec.conf24
-rw-r--r--testing/tests/ikev2/rw-whitelist/hosts/dave/etc/strongswan.conf5
2 files changed, 29 insertions, 0 deletions
diff --git a/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/ipsec.conf b/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/ipsec.conf
new file mode 100755
index 000000000..1a89f4e5d
--- /dev/null
+++ b/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/ipsec.conf
@@ -0,0 +1,24 @@
+# /etc/ipsec.conf - strongSwan IPsec configuration file
+
+config setup
+ crlcheckinterval=180
+ strictcrlpolicy=no
+ plutostart=no
+
+conn %default
+ ikelifetime=60m
+ keylife=20m
+ rekeymargin=3m
+ keyingtries=1
+ keyexchange=ikev2
+
+conn home
+ left=PH_IP_DAVE
+ leftsourceip=%config
+ leftcert=daveCert.pem
+ leftid=dave@strongswan.org
+ leftfirewall=yes
+ right=PH_IP_MOON
+ rightsubnet=10.1.0.0/16
+ rightid=@moon.strongswan.org
+ auto=add
diff --git a/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/strongswan.conf b/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/strongswan.conf
new file mode 100644
index 000000000..339b56987
--- /dev/null
+++ b/testing/tests/ikev2/rw-whitelist/hosts/dave/etc/strongswan.conf
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+ load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 revocation hmac xcbc stroke kernel-netlink socket-default updown
+}