diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-02-15 00:04:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-02-15 00:04:16 +0000 |
commit | 1c593cd2b90cf1c831d65d64342d886356133ae6 (patch) | |
tree | 5b84f2fdac2b793d8d5a2f3411ad4fe19109933b /applications/luci-ffwizard-leipzig/luasrc | |
parent | 157cc2b89639c729fd519e2d0b2eee893610ebfa (diff) |
applications/luci-ffwizard-leipzig: also allow dns traffic
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc')
-rw-r--r-- | applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua | 11 |
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 526913c07a..4dd6e0e15b 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" }) |