-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.yml
52 lines (48 loc) · 882 Bytes
/
test.yml
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
---
global:
domain: connectopus.test
subnet: FD00::0/8
nodes:
foo:
address: FD00::1:1
tun_devs:
foo-tun:
device: ctun
address: FD00::1:2
namespaces:
foo-ns:
address: FD00::1:3
backends:
b1:
type: dtls-dialer
peer: localhost:4444
psk: test-psk
cpctl:
port: 8123
bar:
address: FD00::2:1
namespaces:
bar-ns:
address: FD00::2:3
backends:
b1:
type: dtls-listener
port: 4444
psk: test-psk
baz:
address: FD00::3:1
namespaces:
baz-ns:
address: FD00::3:3
services:
echo:
command: ncat -6 -e /bin/cat -k -l 7
backends:
b1:
type: dtls-dialer
peer: localhost:4444
psk: test-psk
services:
echo:
port: 7
command: /bin/cat