From d399ce3caf3ffab109ca3dc453f7dfbcb4d6a1b8 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Wed, 21 Dec 2022 19:11:54 -0700 Subject: [PATCH] Enable Wireguard to publish to the kernel routing table --- wireguard/wg0.conf.tmpl | 1 - 1 file changed, 1 deletion(-) diff --git a/wireguard/wg0.conf.tmpl b/wireguard/wg0.conf.tmpl index 98e7cd3..577b96b 100644 --- a/wireguard/wg0.conf.tmpl +++ b/wireguard/wg0.conf.tmpl @@ -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]