testing: Add some PPK scenarios

This commit is contained in:
Tobias Brunner
2018-09-10 18:04:23 +02:00
parent 755985867e
commit d1c5e6816d
34 changed files with 705 additions and 0 deletions
@@ -0,0 +1,9 @@
# /etc/strongswan.conf - strongSwan configuration file
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = random nonce sha1 sha2 aes hmac pem pkcs1 x509 revocation constraints pubkey curve25519 gmp curl kernel-netlink socket-default updown vici
}
@@ -0,0 +1,38 @@
connections {
home {
local_addrs = 192.168.0.200
remote_addrs = 192.168.0.1
ppk_id = [email protected]
ppk_required = no
local {
auth = pubkey
certs = daveCert.pem
id = [email protected]
}
remote {
auth = pubkey
id = moon.strongswan.org
}
children {
home {
remote_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-x25519
}
}
version = 2
proposals = aes128-sha256-x25519
}
}
secrets {
ppk-dave {
id = [email protected]
secret = 0x06918e49398db61094438a5be8b743894f155f4e8521e6bcd1d47690557e4b13
}
}