aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/net2net-gw/hosts/moon/etc/swanctl/swanctl.conf
blob: 317a45dddcf68d21e4d077fdbea3875b4aaca2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
connections {

   gw-gw {
      remote_addrs = 192.168.0.100

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
         id = carol@strongswan.org
      }
      children {
         net-net {
            local_ts  = 10.1.0.0/16
            remote_ts = 10.2.0.0/16

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-curve25519
         }
      }
      version = 2
      mobike = no
      proposals = aes128-sha256-curve25519
   }
}