summaryrefslogtreecommitdiff
path: root/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/swanctl/swanctl.conf
blob: 1238c1a91f165a92d9905f5151b0543428cad6d2 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
connections {

   rw-allow {
      local_addrs  = 192.168.0.1

      local {
         auth = eap-ttls
         id = moon.strongswan.org
      }
      remote {
         auth = eap-ttls
         id = *@strongswan.org
         groups = allow
      }
      children {
         rw-allow {
            local_ts = 10.1.0.0/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm16-modp3072
         }
      }
      version = 2
      send_certreq = no
      proposals = aes128-sha256-modp3072
   }

   rw-isolate {
      local_addrs  = 192.168.0.1

      local {
         auth = eap-ttls
         id = moon.strongswan.org
      }
      remote {
         auth = eap-ttls
         id = *@strongswan.org
         groups = isolate
      }
      children {
         rw-isolate {
            local_ts = 10.1.0.16/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm16-modp3072
         }
      }
      version = 2
      send_certreq = no
      proposals = aes128-sha256-modp3072
   }
}

secrets {

   eap-carol {
      id = carol@strongswan.org
      secret = "Ar3etTnp"
   }
   eap-dave {
      id = dave@strongswan.org
      secret = "W7R0g3do"
   }
}