forked from NHAS/wag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-test-config.json
117 lines (117 loc) · 2.81 KB
/
docker-test-config.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"Socket": "/tmp/wag.sock",
"NumberProxies": 0,
"Proxied": false,
"ExposePorts": [
"10/tcp",
"100-500/tcp"
],
"NAT": true,
"HelpMail": "help@example.com",
"Lockout": 5,
"ExternalAddress": "192.168.121.61",
"MaxSessionLifetimeMinutes": 2,
"SessionInactivityTimeoutMinutes": 1,
"DownloadConfigFileName": "wg0.conf",
"ManagementUI": {
"ListenAddress": "container2:4433",
"Enabled": true,
"Debug": false
},
"Webserver": {
"Public": {
"ListenAddress": ":8081"
},
"Tunnel": {
"Port": "8080"
}
},
"Authenticators": {
"DefaultMethod": "totp",
"Issuer": "vpn.test",
"Methods": [
"totp"
],
"DomainURL": "https://vpn.test:8080",
"OIDC": {
"IssuerURL": "",
"ClientSecret": "",
"ClientID": ""
},
"PAM": {
"ServiceName": ""
}
},
"Wireguard": {
"DevName": "wg1",
"ListenPort": 53230,
"PrivateKey": "uP2iyvfBFkz7Ks6yZmXbTN2PDSOaLb0zKTziMhBYs0E=",
"Address": "192.168.122.1/24",
"ServerPersistentKeepAlive": 0
},
"Clustering": {
"ClusterState": "new",
"ETCDLogLevel": "error",
"ListenAddresses": [
"https://172.20.0.3:2380"
],
"TLSManagerListenURL": "https://container2:3434"
},
"DatabaseLocation": "devices.db",
"Acls": {
"Groups": {
"group:administrators": [
"toaster",
"tester"
],
"group:nerds": [
"toaster",
"tester",
"abc"
]
},
"Policies": {
"*": {
"Mfa": [
"1.1.1.1",
"12.2.3.2",
"22.22.22.2",
"33.33.33.33",
"4.4.5.5",
"5.5.5.5"
],
"Allow": [
"7.7.7.7",
"google.com"
]
},
"group:administrators": {
"Mfa": [
"8.8.8.8"
]
},
"group:nerds": {
"Mfa": [
"192.168.3.4/32"
],
"Allow": [
"192.168.3.5/32"
]
},
"tester": {
"Mfa": [
"192.168.3.0/24",
"192.168.5.0/24"
],
"Allow": [
"4.3.3.3/32"
]
},
"toaster": {
"Allow": [
"1.1.1.1/32"
]
}
}
}
}