* Fixed haserl-lua Makefile
[project/luci.git] / src / ffluci / model / cbi / admin_network / portfw.lua
1 -- ToDo: Translate, Add descriptions and help texts
2 m = Map("luci_fw", "Portweiterleitung")
3
4 s = m:section(TypedSection, "portfw")
5 s.addremove = true
6 s.anonymous = true
7
8 iface = s:option(Value, "in_interface", "Externes Interface")
9
10 proto = s:option(ListValue, "proto", "Protokoll")
11 proto:value("tcp", "TCP")
12 proto:value("udp", "UDP")
13
14 dport = s:option(Value, "dport", "Externer Port", "Port[:Endport]")
15
16 to = s:option(Value, "to", "Interne Adresse", "IP-Adresse[:Zielport[-Zielendport]]")
17
18 return m