-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
51 lines (51 loc) · 1.68 KB
/
config.example.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
{
"mode": "",
"apply_kernel_tuning_tweaks": false,
"main_network_interface": "eth0",
"dynamic_ip_updater_api": {
"is_enabled": false,
"listen_address": "0.0.0.0",
"listen_port": 30100
},
"timeouts": {
"ping_timeout": 5,
"ping_interval": 10,
"dynamic_ip_update_timeout": 30,
"dynamic_ip_update_attempt_interval": 3
},
"tunnels": [
{
"driver": "gre",
"tunnel_host_main_public_ip": "156.0.1.1",
"tunnel_host_public_ip": "156.0.1.2",
"backend_server_public_ip": "156.0.0.2",
"tunnel_key": 1,
"tunnel_interface_name": "tun1",
"tunnel_rttables_id": 100,
"tunnel_rttables_name": "TUN1",
"tunnel_gateway_ip": "192.168.168.0",
"tunnel_host_tunnel_ip": "192.168.168.1",
"backend_server_tunnel_ip": "192.168.168.2",
"tunnel_type": "full",
"split_tunnel_ports": [
{
"proto": "TCP",
"src_port": "80",
"dest_port": ""
},
{
"proto": "TCP",
"src_port": "81",
"dest_port": "9000"
}
],
"route_all_traffic_through_tunnel": false,
"dynamic_ip_updater_key": "wowsers123@",
"wg_private_key_file_path": "/etc/tunmanager/wg-private",
"wg_server_tunnel_host_listen_port": 51820,
"wg_server_backend_server_listen_port": 51820,
"wg_tunnel_host_public_key": "",
"wg_backend_server_public_key": ""
}
]
}