Disable wireguard kernel table adds again
This commit is contained in:
parent
d399ce3caf
commit
9b50160914
@ -8,6 +8,7 @@ PostUp = iptables -A FORWARD -i wg0 -j ACCEPT;
|
|||||||
PostDown = iptables -D 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
|
{{ if len "${wg_routes:-}" }}{{ range "$wg_routes" | split "," }}PostDown = ip -4 route del {{ . }} dev wg0 metric 31
|
||||||
{{ end }}{{ end }}
|
{{ end }}{{ end }}
|
||||||
|
Table = off
|
||||||
|
|
||||||
{{ range files "wireguard/peers" }} {{ if ne . "${tinc_peer_name}" }}
|
{{ range files "wireguard/peers" }} {{ if ne . "${tinc_peer_name}" }}
|
||||||
[Peer]
|
[Peer]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user