luci/applications/luci-app-firewall/luasrc/controller/firewall.lua
Jo-Philipp Wich 1787cd4a4c luci-app-firewall: introduce support for "config nat" sections
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c8b8ae6b8e)
2020-01-28 18:29:51 +01:00

22 lines
708 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", "snats"},
view("firewall/snats"), _("NAT Rules"), 40)
entry({"admin", "network", "firewall", "custom"},
view("firewall/custom"), _("Custom Rules"), 50).leaf = true
end