testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / ip-two-pools-db / hosts / moon / etc / swanctl / swanctl.conf
1 connections {
2
3    ext {
4       local_addrs  = 192.168.0.1
5       pools = extpool
6
7       local {
8          auth = pubkey
9          certs = moonCert.pem
10          id = moon.strongswan.org
11       }
12       remote {
13          auth = pubkey
14       }
15       children {
16          ext {
17             local_ts = 10.3.0.0/16,10.4.0.0/16
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    int {
27       local_addrs  = 10.1.0.1
28       pools = intpool
29
30       local {
31          auth = pubkey
32          certs = moonCert.pem
33          id = moon.strongswan.org
34       }
35       remote {
36          auth = pubkey
37       }
38       children {
39          int {
40             local_ts = 10.3.0.0/16,10.4.0.0/16
41             updown = /usr/local/libexec/ipsec/_updown iptables
42             esp_proposals = aes128gcm128-x25519
43          }
44       }
45       version = 2
46       proposals = aes128-sha256-x25519
47    }
48 }