Added FW rule for splash hotspot portal
This commit is contained in:
parent
57def3cead
commit
83494b2751
1 changed files with 11 additions and 0 deletions
|
@ -298,6 +298,17 @@ function client.write(self, section, value)
|
||||||
dest_port="67",
|
dest_port="67",
|
||||||
target="ACCEPT"
|
target="ACCEPT"
|
||||||
})
|
})
|
||||||
|
uci:delete_all("firewall", "rule", {
|
||||||
|
src="freifunk",
|
||||||
|
proto="tcp",
|
||||||
|
dest_port="8082",
|
||||||
|
})
|
||||||
|
uci:section("firewall", "rule", nil, {
|
||||||
|
src="freifunk",
|
||||||
|
proto="tcp",
|
||||||
|
dest_port="8082",
|
||||||
|
target="ACCEPT"
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue