summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/xauth-rsa/hosts/dave/etc/swanctl/swanctl.conf
blob: 61ca64db3758eeefcf43dc07081d6fea44488be5 (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
37
38
39
connections {

   home {
      local_addrs  = 192.168.0.200
      remote_addrs = 192.168.0.1 

      local {
         auth = pubkey
         certs = daveCert.pem
         id = dave@strongswan.org
      }
      local-xauth {
         auth = xauth
         xauth_id = dave
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org 
      }
      children {
         home {
            remote_ts = 10.1.0.0/16 

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-modp3072
         }
      }
      version = 1 
      proposals = aes128-sha256-modp3072
   }
}

secrets {

   xauth-dave {
      id = dave
      secret = "ryftzG4A"
   }
}