gluon-alfred: firewall: allow alfred server announces from mesh
This commit is contained in:
parent
18feb29b29
commit
454555a030
14
package/gluon-alfred/luasrc/lib/gluon/upgrade/400-alfred-firewall
Executable file
14
package/gluon-alfred/luasrc/lib/gluon/upgrade/400-alfred-firewall
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/lua
|
||||||
|
|
||||||
|
local uci = require('simple-uci').cursor()
|
||||||
|
|
||||||
|
uci:section('firewall', 'rule', 'mesh_respondd', {
|
||||||
|
name = 'mesh_respondd',
|
||||||
|
src = 'mesh',
|
||||||
|
src_ip = 'fe80::/64',
|
||||||
|
dest_port = '16962',
|
||||||
|
proto = 'udp',
|
||||||
|
target = 'ACCEPT',
|
||||||
|
})
|
||||||
|
|
||||||
|
uci:save('firewall')
|
Loading…
Reference in New Issue
Block a user