summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-15 00:04:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-15 00:04:16 +0000
commit1c593cd2b90cf1c831d65d64342d886356133ae6 (patch)
tree5b84f2fdac2b793d8d5a2f3411ad4fe19109933b /applications
parent157cc2b89639c729fd519e2d0b2eee893610ebfa (diff)
applications/luci-ffwizard-leipzig: also allow dns traffic
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 526913c07..4dd6e0e15 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -356,6 +356,17 @@ function client.write(self, section, value)
uci:delete_all("firewall", "rule", {
src="freifunk",
proto="udp",
+ dest_port="53"
+ })
+ uci:section("firewall", "rule", nil, {
+ src="freifunk",
+ proto="udp",
+ src_port="53",
+ target="ACCEPT"
+ })
+ uci:delete_all("firewall", "rule", {
+ src="freifunk",
+ proto="udp",
src_port="68",
dest_port="67"
})