aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/manual-prio/hosts/carol/etc/swanctl/swanctl.conf
blob: 81797718869b90ed45a1bfd23f85c5b42befda88 (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
connections {

   home {
      local_addrs  = 192.168.0.100
      remote_addrs = 192.168.0.1 

      local {
         auth = pubkey
         certs = carolCert.pem
         id = carol@strongswan.org
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org 
      }
      children {
         home {
            remote_ts = 10.1.0.0/16 
            priority = 2

            esp_proposals = aes128gcm128-curve25519
         }
      }
      version = 2
      proposals = aes128-sha256-curve25519
   }

   shunts {

      children {
         pass-ssh-in {
            local_ts  = 0.0.0.0/0[tcp/ssh]
            remote_ts = 0.0.0.0/0[tcp]
            priority = 1

            mode = pass
            start_action = trap
         }
         pass-ssh-out {
            local_ts  = 0.0.0.0/0[tcp]
            remote_ts = 0.0.0.0/0[tcp/ssh]
            priority = 1

            mode = pass
            start_action = trap
         }
      }
   }
}