aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/rw-psk-ipv4/hosts/moon/etc/swanctl/swanctl.conf
blob: a86ee74c7822d5f9813aa970abec6096e14c9a0e (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 {

   rw {
      local_addrs  = 192.168.0.1

      local {
         auth = psk 
      }
      remote {
         auth = psk 
      }
      children {
         net {
            local_ts  = 10.1.0.0/16 

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

secrets {

   ike-carol {
      id = 192.168.0.100 
      secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
   }
   ike-dave {
      id = 192.168.0.200
      secret = 0sjVzONCF02ncsgiSlmIXeqhGN
   }
}