File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44# Required: use userspace WireGuard implementation (e.g. wireguard-go)
55userspace = false
6- # Required: how often should interface stat updates be sent to defguard server (in seconds)
6+ # Required: how often should interface stat updates be sent to Defguard Core (in seconds)
77stats_period = 60
88# Required: name of WireGuard interface
99ifname = " wg0"
@@ -26,14 +26,13 @@ syslog_socket = "/var/run/log"
2626# Example: Add a default route after WireGuard interface is up:
2727# post_up = "/path/to/ip route add default via 192.168.1.1 dev wg0"
2828
29-
3029# Optional: Command which will be run before bringing interface down
3130# Example: Remove WireGuard-related firewall rules before interface is taken down:
3231# pre_down = "/path/to/iptables -D INPUT -i wg0 -j ACCEPT"
3332
3433# Optional: Command which will be run after bringing interface down
3534# Example: Remove the default route after WireGuard interface is down:
36- # post_down = "/pat /to/ip route del default via 192.168.1.1 dev wg0"
35+ # post_down = "/path /to/ip route del default via 192.168.1.1 dev wg0"
3736
3837# A HTTP port that will expose the REST HTTP gateway health status
3938# STATUS CODES:
Original file line number Diff line number Diff line change 88
99name=" defguard_gateway"
1010rcvar=defguard_gateway_enable
11- command=" /usr/local/sbin /defguard-gateway"
11+ command=" /usr/local/bin /defguard-gateway"
1212config=" /etc/defguard/gateway.toml"
1313start_cmd=" ${name} _start"
1414
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Group=defguard
1010AmbientCapabilities =CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
1111CapabilityBoundingSet =CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
1212ExecReload =/bin/kill -HUP $MAINPID
13- ExecStart =/usr/sbin /defguard-gateway --config /etc/defguard/gateway.toml
13+ ExecStart =/usr/bin /defguard-gateway --config /etc/defguard/gateway.toml
1414KillMode =process
1515KillSignal =SIGINT
1616LimitNOFILE =65536
You can’t perform that action at this time.
0 commit comments