summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf')
-rwxr-xr-xtesting/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf b/testing/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf
new file mode 100755
index 000000000..557fb62eb
--- /dev/null
+++ b/testing/tests/ikev1/passthrough/hosts/moon/etc/ipsec.conf
@@ -0,0 +1,32 @@
+# /etc/ipsec.conf - strongSwan IPsec configuration file
+
+config setup
+ plutodebug=control
+ crlcheckinterval=180
+ strictcrlpolicy=no
+ charonstart=no
+
+conn %default
+ ikelifetime=60m
+ keylife=20m
+ rekeymargin=3m
+ keyingtries=1
+ left=PH_IP_MOON
+ leftsubnet=10.1.0.0/16
+ right=PH_IP_SUN
+
+conn net-net
+ rightsubnet=0.0.0.0/0
+ rightid=@sun.strongswan.org
+ leftid=@moon.strongswan.org
+ leftcert=moonCert.pem
+ leftsourceip=10.1.0.1
+ leftfirewall=yes
+ lefthostaccess=yes
+ auto=add
+
+conn pass
+ rightsubnet=10.1.0.0/16
+ type=passthrough
+ authby=never
+ auto=route