Enable Wireguard to publish to the kernel routing table
This commit is contained in:
parent
871c55114a
commit
d399ce3caf
@ -8,7 +8,6 @@ PostUp = iptables -A FORWARD -i wg0 -j ACCEPT;
|
||||
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT
|
||||
{{ if len "${wg_routes:-}" }}{{ range "$wg_routes" | split "," }}PostDown = ip -4 route del {{ . }} dev wg0 metric 31
|
||||
{{ end }}{{ end }}
|
||||
Table = off
|
||||
|
||||
{{ range files "wireguard/peers" }} {{ if ne . "${tinc_peer_name}" }}
|
||||
[Peer]
|
||||
|
Loading…
x
Reference in New Issue
Block a user