Added FW rule for splash hotspot portal

This commit is contained in:
Steven Barth 2008-09-22 00:15:38 +00:00
parent 57def3cead
commit 83494b2751

View file

@ -298,6 +298,17 @@ function client.write(self, section, value)
dest_port="67",
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"
})