summaryrefslogtreecommitdiff
path: root/testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf')
-rw-r--r--testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf b/testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf
new file mode 100644
index 000000000..1e543b2fe
--- /dev/null
+++ b/testing/tests/xauth-psk-mode-config/hosts/moon/etc/ipsec.conf
@@ -0,0 +1,29 @@
+# /etc/ipsec.conf - strongSwan IPsec configuration file
+
+config setup
+ plutodebug=control
+ crlcheckinterval=180
+ strictcrlpolicy=no
+
+conn %default
+ ikelifetime=60m
+ keylife=20m
+ rekeymargin=3m
+ keyingtries=1
+ authby=xauthpsk
+ xauth=server
+ left=PH_IP_MOON
+ leftid=@moon.strongswan.org
+ leftnexthop=%direct
+ leftsubnet=10.1.0.0/16
+ leftfirewall=yes
+ right=%any
+ auto=add
+
+conn carol
+ rightid=carol@strongswan.org
+ rightsourceip=PH_IP1_CAROL
+
+conn dave
+ rightid=dave@strongswan.org
+ rightsourceip=PH_IP1_DAVE