summaryrefslogtreecommitdiff
path: root/testing/tests/xauth-rsa-mode-config/hosts/moon
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 20:57:54 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 20:57:54 +0000
commit808cf8b3174aa7ad0833ea69cb55753d21318c9c (patch)
treef616989731c65ab1b6361b3ae5fff5ffed2e0c0a /testing/tests/xauth-rsa-mode-config/hosts/moon
parent58d26e02cd8686e177eebb9fb81e6b17798bbb30 (diff)
downloadvyos-strongswan-808cf8b3174aa7ad0833ea69cb55753d21318c9c.tar.gz
vyos-strongswan-808cf8b3174aa7ad0833ea69cb55753d21318c9c.zip
[svn-upgrade] Integrating new upstream version, strongswan (2.8.1)
Diffstat (limited to 'testing/tests/xauth-rsa-mode-config/hosts/moon')
-rw-r--r--testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.conf30
-rw-r--r--testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.secrets7
2 files changed, 37 insertions, 0 deletions
diff --git a/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.conf b/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.conf
new file mode 100644
index 000000000..e3b2219c4
--- /dev/null
+++ b/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.conf
@@ -0,0 +1,30 @@
+# /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=xauthrsasig
+ xauth=server
+ left=PH_IP_MOON
+ leftnexthop=%direct
+ leftcert=moonCert.pem
+ leftid=@moon.strongswan.org
+ leftsubnet=10.1.0.0/16
+ leftfirewall=yes
+ right=%any
+ auto=add
+
+conn rw-carol
+ rightid=carol@strongswan.org
+ rightsourceip=PH_IP1_CAROL
+
+conn rw-dave
+ rightid=dave@strongswan.org
+ rightsourceip=PH_IP1_DAVE
diff --git a/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.secrets b/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.secrets
new file mode 100644
index 000000000..8d41919fc
--- /dev/null
+++ b/testing/tests/xauth-rsa-mode-config/hosts/moon/etc/ipsec.secrets
@@ -0,0 +1,7 @@
+# /etc/ipsec.secrets - strongSwan IPsec secrets file
+
+: RSA moonKey.pem
+
+: XAUTH carol "4iChxLT3"
+
+: XAUTH dave "ryftzG4A"