Browse Source

gluon-neighbour-info: allow respondd replies on mesh and wan interface

Christof Schulze 6 years ago
parent
commit
c544846bc5

+ 12 - 0
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')