From cae7916decc645cd7ea9cefec739db0f9da93354 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 26 Apr 2025 13:06:47 +0200 Subject: [PATCH] wireguard.cgi: Allow full access to everywhere by default for RW I think this is a more what people would expect. Signed-off-by: Michael Tremer --- html/cgi-bin/wireguard.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index cb70ce30b..315bb9adc 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -1311,9 +1311,7 @@ EDITHOST: # Set defaults unless (defined $key) { &General::set_defaults(\%cgiparams, { - "LOCAL_SUBNETS" => - $Network::ethernet{"GREEN_NETADDRESS"} - . "/" . $Network::ethernet{"GREEN_NETMASK"}, + "LOCAL_SUBNETS" => "0.0.0.0/0", }); } -- 2.39.5