luci/applications/luci-app-firewall/luasrc/controller/firewall.lua
Jo-Philipp Wich 9e57fbb2c3 luci-base, luci-app-firewall: port custom rules to client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 20:34:57 +01:00

19 lines
611 B
Lua

module("luci.controller.firewall", package.seeall)
function index()
entry({"admin", "network", "firewall"},
alias("admin", "network", "firewall", "zones"),
_("Firewall"), 60)
entry({"admin", "network", "firewall", "zones"},
view("firewall/zones"), _("General Settings"), 10)
entry({"admin", "network", "firewall", "forwards"},
view("firewall/forwards"), _("Port Forwards"), 20)
entry({"admin", "network", "firewall", "rules"},
view("firewall/rules"), _("Traffic Rules"), 30)
entry({"admin", "network", "firewall", "custom"},
view("firewall/custom"), _("Custom Rules"), 40).leaf = true
end