testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / ip-two-pools / hosts / moon / etc / swanctl / swanctl.conf
1 connections {
2
3    rw1 {
4       local_addrs  = 192.168.0.1
5       pools = pool1
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          rw1 {
17             updown = /usr/local/libexec/ipsec/_updown iptables
18             esp_proposals = aes128gcm128-x25519
19          }
20       }
21       version = 2
22       proposals = aes128-sha256-x25519
23    }
24
25    rw2 {
26       local_addrs  = 10.1.0.1
27       pools = pool2
28
29       local {
30          auth = pubkey
31          certs = moonCert.pem
32          id = moon.strongswan.org
33       }
34       remote {
35          auth = pubkey
36       }
37       children {
38          rw2 {
39             updown = /usr/local/libexec/ipsec/_updown iptables
40             esp_proposals = aes128gcm128-x25519
41          }
42       }
43       version = 2
44       proposals = aes128-sha256-x25519
45    }
46 }
47
48 pools {
49    pool1 {
50       addrs = 10.3.0.0/28
51    }
52    pool2 {
53       addrs = 10.4.0.0/28
54    }
55 }