testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / nat-rw / hosts / sun / etc / swanctl / swanctl.conf
1 connections {
2
3    nat-t {
4       local_addrs = 192.168.0.2
5
6       local {
7          auth = pubkey
8          certs = sunCert.pem
9          id = sun.strongswan.org
10       }
11       remote {
12          auth = pubkey
13       }
14       children {
15          nat-t {
16             local_ts = 10.2.0.0/16
17             remote_ts = 10.1.0.0/16
18
19             updown = /usr/local/libexec/ipsec/_updown iptables
20             esp_proposals = aes128gcm128-x25519
21          }
22       }
23       version = 2
24       proposals = aes128-sha256-x25519
25    }
26 }