testing: Add ikev2/rw-sig-auth scenario

This commit is contained in:
Tobias Brunner
2015-03-04 13:54:10 +01:00
parent 3b31245a0f
commit 2f1b2d9183
12 changed files with 180 additions and 0 deletions
@@ -0,0 +1,29 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn alice
rightsubnet=10.1.0.10/32
also=home
auto=add
conn venus
rightsubnet=10.1.0.20/32
also=home
auto=add
conn home
left=%any
leftcert=carolCert.pem
leftauth=pubkey-sha384
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightauth=pubkey
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default fips-prf updown
}
@@ -0,0 +1,29 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn alice
rightsubnet=10.1.0.10/32
also=home
auto=add
conn venus
rightsubnet=10.1.0.20/32
also=home
auto=add
conn home
left=%any
leftcert=daveCert.pem
leftauth=pubkey-sha512
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightauth=pubkey
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default fips-prf updown
}
@@ -0,0 +1,30 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn research
rightauth=pubkey-sha384-sha256
leftsubnet=10.1.0.0/28
also=rw
auto=add
conn accounting
rightauth=pubkey-sha512-sha256
leftsubnet=10.1.0.16/28
also=rw
auto=add
conn rw
left=PH_IP_MOON
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
right=%any
@@ -0,0 +1,3 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
: RSA moonKey.pem
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default fips-prf updown
}