testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / net2net-psk / hosts / sun / etc / swanctl / swanctl.conf
1 connections {
2
3    gw-gw {
4       local_addrs  = 192.168.0.2
5       remote_addrs = 192.168.0.1
6
7       local {
8          auth = psk
9          id = sun.strongswan.org
10       }
11       remote {
12          auth = psk
13          id = moon.strongswan.org
14       }
15       children {
16          net-net {
17             local_ts  = 10.2.0.0/16
18             remote_ts = 10.1.0.0/16
19
20             updown = /usr/local/libexec/ipsec/_updown iptables
21             rekey_time = 5400
22             rekey_bytes = 500000000
23             rekey_packets = 1000000
24             esp_proposals = aes128gcm128-x25519
25          }
26       }
27       version = 2
28       mobike = no
29       reauth_time = 10800
30       proposals = aes128-sha256-x25519
31    }
32 }
33
34 secrets {
35    ike-1 {
36       id-moon = moon.strongswan.org
37       id-sun =sun.strongswan.org
38       secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
39    }
40 }