%- local fw = require "luci.model.firewall".init() local izl = { } local ezl = { } local _, z for _, z in ipairs(fw:get_zones()) do if z:name() ~= "wan" then izl[#izl+1] = z elseif z:name() ~= "lan" then ezl[#ezl+1] = z end end -%>
<%:New port forward%>: | |||||||
---|---|---|---|---|---|---|---|
<%:Name%> | <%:Protocol%> | <%:External zone%> | <%:External port%> | <%:Internal zone%> | <%:Internal IP address%> | <%:Internal port%> | |