From c544846bc57c653679b47b5c3aedf38e361cfcd1 Mon Sep 17 00:00:00 2001
From: Christof Schulze <christof.schulze@gmx.net>
Date: Mon, 3 Jul 2017 09:13:20 +0200
Subject: [PATCH] gluon-neighbour-info: allow respondd replies on mesh and wan
 interface

---
 .../lib/gluon/upgrade/400-neighbour-info-firewall    | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/gluon-neighbour-info/luasrc/lib/gluon/upgrade/400-neighbour-info-firewall b/package/gluon-neighbour-info/luasrc/lib/gluon/upgrade/400-neighbour-info-firewall
index aa54de5ff..54f4a86c8 100755
--- a/package/gluon-neighbour-info/luasrc/lib/gluon/upgrade/400-neighbour-info-firewall
+++ b/package/gluon-neighbour-info/luasrc/lib/gluon/upgrade/400-neighbour-info-firewall
@@ -16,4 +16,16 @@ uci:section('firewall', 'rule', 'wan_respondd_reply',
   }
 )
 
+uci:section('firewall', 'rule', 'mesh_respondd_reply',
+  {
+    name = 'mesh_respondd_reply',
+    src = 'mesh',
+    src_ip = 'fe80::/64',
+    src_port = '1001',
+    dest_port = '32768:61000', -- see /proc/sys/net/ipv4/ip_local_port_range
+    proto = 'udp',
+    target = 'ACCEPT',
+  }
+)
+
 uci:save('firewall')
-- 
GitLab