aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/libipsec/net2net-cert/hosts/sun/etc/swanctl/swanctl.conf
blob: 75b1c46f10076bea781c43bf42a77e8b8f8d2a80 (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
connections {

   gw-gw {
      local_addrs  = 192.168.0.2
      remote_addrs = 192.168.0.1 

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

            updown = /etc/updown
            esp_proposals = aes128gcm128-x25519
         }
      }
      version = 2
      mobike = no
      proposals = aes128-sha256-x25519
   }
}