1 -- ToDo: Translate, Add descriptions and help texts
3 m = Map("luci_fw", "Portweiterleitung", [[Portweiterleitungen ermöglichen es interne
4 Netzwerkdienste von einem anderen externen Netzwerk aus erreichbar zu machen.]])
6 s = m:section(TypedSection, "portfw")
7 s.template = "cbi/tblsection"
11 iface = s:option(ListValue, "iface", "Schnittstelle", "Externe Schnittstelle")
13 for k, v in pairs(ffluci.model.uci.sections("network")) do
14 if v[".type"] == "interface" and k ~= "loopback" then
19 proto = s:option(ListValue, "proto", "Protokoll")
20 proto:value("tcp", "TCP")
21 proto:value("udp", "UDP")
22 proto:value("tcpudp", "TCP + UDP")
24 dport = s:option(Value, "dport", "Externer Port", "Port[:Endport]")
26 to = s:option(Value, "to", "Interne Adresse", "IP-Adresse[:Zielport[-Zielendport]]")