summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-cert-ipv6/hosts/sun/etc/swanctl/swanctl.conf
blob: 90aa137f04b6119983ec890408a880b6acbcd5e1 (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
connections {

   gw-gw {
      local_addrs  = fec0::2
      remote_addrs = fec0::1 

      local {
         auth = pubkey
         certs = sunCert.pem
         id = sun.strongswan.org
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org 
      }
      children {
         net-net {
            local_ts  = fec2::0/16 
            remote_ts = fec1::0/16 

            start_action = none
            updown = /usr/local/libexec/ipsec/_updown iptables
            rekey_time = 10m 
            esp_proposals = aes128gcm128-modp2048
         }
      }

      version = 2
      mobike = no
      fragmentation = yes
      reauth_time = 60m
      rekey_time =  20m
      proposals = aes128-sha256-modp2048
   }
}