Disable wireguard kernel table adds again

This commit is contained in:
Manevolent 2022-12-21 19:18:06 -07:00 committed by GitHub
parent d399ce3caf
commit 9b50160914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ 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]