testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / nat-rw-psk / hosts / sun / etc / swanctl / swanctl.conf
1 connections {
2
3    nat-t {
4       local_addrs = 192.168.0.2
5
6       local {
7          auth = psk
8          id = 192.168.0.2
9       }
10       remote {
11          auth = psk
12       }
13       children {
14          nat-t {
15             local_ts = 10.2.0.0/16
16             remote_ts = 10.1.0.0/16
17
18             updown = /usr/local/libexec/ipsec/_updown iptables
19             esp_proposals = aes128gcm128-x25519
20          }
21       }
22       version = 2
23       proposals = aes128-sha256-x25519
24    }
25 }
26
27 secrets {
28    ike-alice {
29       id = 10.1.0.10
30       secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
31    }
32    ike-venus {
33       id = 10.1.0.20
34       secret = 0s8PjpI8z+Ym5A9zPvh7+opyyV9NcZp8Br
35    }
36 }