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 = random openssl
}
charon-systemd {
load = random nonce aes sha1 sha2 hmac curve25519 kernel-netlink socket-default updown vici
}
@@ -0,0 +1,42 @@
connections {
rw {
local_addrs = 192.168.0.1
ppk_id = *@strongswan.org
local {
auth = psk
id = moon.strongswan.org
}
remote {
auth = psk
}
children {
net {
local_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-x25519
}
}
version = 2
proposals = aes128-sha256-x25519
}
}
secrets {
ike-carol {
id = [email protected]
secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
}
ike-dave {
id = [email protected]
secret = 0sjVzONCF02ncsgiSlmIXeqhGN
}
ppk-carol {
id = [email protected]
secret = 0x98c61dd0f8c7daf07759617546f7b3ae156f19a7bc935c61523c7ca998e5eedb
}
}