summaryrefslogtreecommitdiff
path: root/testing/tests/botan/net2net-pkcs12/hosts/moon/etc/swanctl/swanctl.conf
blob: b11cf0f3e50e30e31371d6b30dc3651b18acb7f2 (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
29
30
31
32
33
34
35
36
connections {

   gw-gw {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.2

      local {
         auth = pubkey
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
         id = sun.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-modp3072
         }
      }
      version = 2
      mobike = no
      proposals = aes128-sha256-modp3072
   }
}

secrets {

   pkcs12-moon {
      file = moonCert.p12
      secret = "kUqd8O7mzbjXNJKQ"
   }
}