Skip to content
Snippets Groups Projects
Commit 6bcd9b92 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-announced: allow announced queries on WAN (if mesh-on-wan is enabled)

parent 472087a7
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/lua
local uci = require('luci.model.uci').cursor()
-- Allow announced port on WAN to allow resolving neighbours over mesh-on-wan
uci:section('firewall', 'rule', 'wan_announced',
{
name = 'wan_announced',
src = 'wan',
src_ip = 'fe80::/64',
dest_port = '1001',
proto = 'udp',
target = 'ACCEPT',
}
)
uci:save('firewall')
uci:commit('firewall')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment