summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall/luasrc/controller/firewall.lua
blob: 5f8cb6ef31ca95fe03415b21c1f68907ba892295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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