From eb6f516d69f5281ed602aa72cc2d4db5eafa953d Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Wed, 27 Nov 2024 13:13:26 +0100 Subject: [PATCH] partially revert "parker: remove prefix6 and prefix4" The uci section can be removed manually with a package afterwards --- .../luasrc/lib/gluon/upgrade/400-respondd-firewall | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/gluon-respondd/luasrc/lib/gluon/upgrade/400-respondd-firewall b/package/gluon-respondd/luasrc/lib/gluon/upgrade/400-respondd-firewall index 6e52904395..74a2e11b1e 100755 --- a/package/gluon-respondd/luasrc/lib/gluon/upgrade/400-respondd-firewall +++ b/package/gluon-respondd/luasrc/lib/gluon/upgrade/400-respondd-firewall @@ -33,6 +33,14 @@ uci:section('firewall', 'rule', 'mesh_respondd_ll', { target = 'ACCEPT', }) +uci:section('firewall', 'rule', 'mesh_respondd_siteprefix', { + name = 'mesh_respondd_siteprefix', + src = 'mesh', + src_ip = site.prefix6(), + dest_port = '1001', + proto = 'udp', + target = 'ACCEPT', +}) uci:delete_all('firewall', 'rule', function(rule) return rule['.name']:find('^mesh_respondd_extraprefix')