1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Bypass by IP source

This commit is contained in:
Ycarus 2018-11-15 15:35:02 +01:00
parent 13b72b1967
commit 0a7376b899
2 changed files with 49 additions and 1 deletions

View file

@ -39,7 +39,7 @@ s.addremove = true
s.anonymous = true
s.template = "cbi/tblsection"
mac = s:option(Value, "mac", translate("MAC-Address"))
mac = s:option(Value, "mac", translate("Source MAC-Address"))
mac.datatype = "list(macaddr)"
mac.rmempty = true
mac.optional = false
@ -58,6 +58,19 @@ end)
ifm = s:option(Value, "interface", translate("Interface"))
ifm.rmempty = true
s = m:section(TypedSection, "lan_ip", translate("Source lan IP address"))
s.addremove = true
s.anonymous = true
s.template = "cbi/tblsection"
ip = s:option(Value, "ip", translate("IP Address"))
ip.datatype = "ipaddr"
ip.rmempty = true
ip.optional = false
ifm = s:option(Value, "interface", translate("Interface"))
ifm.rmempty = true
s = m:section(TypedSection, "dpis", translate("Protocols"))
s.addremove = true
s.anonymous = true