From 501a3745bbf5ba605b30cb62c8bee1ede50d4b40 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 20 Sep 2024 06:18:12 +0200 Subject: [PATCH] vpn: add default route for IPv6 in wg.conf template Applied when selected during key creation. Cleave ::/0 in twain for the whole thing sometimes works not. --- web/templates/vpn/wg-fri.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/web/templates/vpn/wg-fri.conf b/web/templates/vpn/wg-fri.conf index 136490b..01cc5ad 100644 --- a/web/templates/vpn/wg-fri.conf +++ b/web/templates/vpn/wg-fri.conf @@ -16,4 +16,5 @@ AllowedIPs = {{ net }} {%- endfor %} {% if add_default -%} AllowedIPs = 0.0.0.0/0 +AllowedIPs = ::/1, 8000::/1 {%- endif %}