aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/rw-multi-ciphers-ikev1/hosts/moon/etc/swanctl/swanctl.conf
blob: 63d87c3f00d8f818f077b147c986fdc1cef08360 (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
connections {

   rw-1 {

      local {
         auth = pubkey
	 id = moon.strongswan.org 
      }
      remote {
         auth = pubkey
         id = carol@strongswan.org 
      }
      children {
         net-1 {
            local_ts  = 10.1.0.0/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128-sha256-curve25519
         }
      }
      version = 1 
      proposals = aes128-sha256-curve25519,3des-sha1-modp2048
   }

   rw-2 {
      local {
         auth = pubkey
         id = moon.strongswan.org 
      }
      remote {
         auth = pubkey
         id = dave@strongswan.org
      }
      children {
         net-2 {
            local_ts  = 10.1.0.16/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = 3des-sha1-modp2048
         }
      }
      version = 1
      proposals = 3des-sha1-modp2048,aes128-sha256-curve25519
   }
}