testing: Add scenario that uses IKE-specific interface IDs
This commit is contained in:
@@ -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 aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac vici kernel-netlink socket-default updown
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
connections {
|
||||
|
||||
gw-gw {
|
||||
local_addrs = PH_IP_MOON
|
||||
remote_addrs = PH_IP_SUN
|
||||
|
||||
if_id_out = 1337
|
||||
if_id_in = 42
|
||||
|
||||
local {
|
||||
auth = pubkey
|
||||
certs = moonCert.pem
|
||||
id = moon.strongswan.org
|
||||
}
|
||||
remote {
|
||||
auth = pubkey
|
||||
id = sun.strongswan.org
|
||||
}
|
||||
children {
|
||||
alice-net {
|
||||
local_ts = 10.1.0.10/32
|
||||
remote_ts = 0.0.0.0/0
|
||||
|
||||
esp_proposals = aes128gcm128-x25519
|
||||
}
|
||||
venus-net : connections.gw-gw.children.alice-net {
|
||||
local_ts = 10.1.0.20/32
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
proposals = aes128-sha256-x25519
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user