From 9b50160914912e5d3c4ce5898dc2ae2579fc8244 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Wed, 21 Dec 2022 19:18:06 -0700 Subject: [PATCH] Disable wireguard kernel table adds again --- wireguard/wg0.conf.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard/wg0.conf.tmpl b/wireguard/wg0.conf.tmpl index 577b96b..98e7cd3 100644 --- a/wireguard/wg0.conf.tmpl +++ b/wireguard/wg0.conf.tmpl @@ -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]