-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yml
More file actions
29 lines (24 loc) · 930 Bytes
/
Copy pathconfig.example.yml
File metadata and controls
29 lines (24 loc) · 930 Bytes
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
wireguard:
# Health check configuration
health_check_url: "https://cloudflare.com/cdn-cgi/trace"
health_check_interval: 30 # seconds
failure_threshold: 3 # consecutive failures before marking unhealthy
# WireGuard connections configuration
connections:
- name: "Connection 1"
interface_name: "wg0"
config_path: "/etc/wireguard/wg0.conf"
- name: "Connection 2"
interface_name: "wg1"
config_path: "/etc/wireguard/wg1.conf"
- name: "Connection 3"
interface_name: "wg2"
config_path: "/etc/wireguard/wg2.conf"
proxy:
base_port: 9930 # First proxy port (random selection)
read_timeout: 30 # seconds
write_timeout: 30 # seconds
failure_http_code: 580 # Custom error code for unhealthy connections
buffer_size: 32768 # 32KB buffer for data transfer
webserver:
port: 9929 # Stats dashboard port