28 lines
546 B
Plaintext
Executable File
28 lines
546 B
Plaintext
Executable File
connections {
|
|
|
|
nat-t {
|
|
local_addrs = 10.1.0.10
|
|
remote_addrs = 192.168.0.2
|
|
|
|
local {
|
|
auth = pubkey
|
|
certs = aliceCert.pem
|
|
id = alice@strongswan.org
|
|
}
|
|
remote {
|
|
auth = pubkey
|
|
id = sun.strongswan.org
|
|
}
|
|
children {
|
|
nat-t {
|
|
remote_ts = 10.2.0.0/16
|
|
|
|
updown = /usr/local/libexec/ipsec/_updown iptables
|
|
esp_proposals = aes128gcm128-x25519
|
|
}
|
|
}
|
|
version = 2
|
|
proposals = aes128-sha256-x25519
|
|
}
|
|
}
|