testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / nat-rw-psk / hosts / alice / etc / swanctl / swanctl.conf
1 connections {
2
3    nat-t {
4       local_addrs  = 10.1.0.10
5       remote_addrs = 192.168.0.2
6
7       local {
8          auth = psk
9          id = 10.1.0.10
10       }
11       remote {
12          auth = psk
13          id = 192.168.0.2
14       }
15       children {
16          nat-t {
17             remote_ts = 10.2.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 }
27
28 secrets {
29    ike-sun {
30       id = 192.168.0.2
31       secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
32    }
33 }