Using DROP is bad behaviour, use REJECT instead
authorSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 13:30:24 +0000 (13:30 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 13:30:24 +0000 (13:30 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index 053df03..827bc14 100644 (file)
@@ -172,7 +172,7 @@ function main.write(self, section, value)
        uci:save("wireless")
 
        -- Create firewall zone and add default rules (first time)
-       local newzone = tools.firewall_create_zone("freifunk", "DROP", "ACCEPT", "DROP", true)
+       local newzone = tools.firewall_create_zone("freifunk", "REJECT", "ACCEPT", "REJECT", true)
        if newzone then
                uci:foreach("freifunk", "fw_forwarding", function(section)
                        uci:section("firewall", "forwarding", nil, section)