WAN Mode Page to configure this page." end if (ButtonType and ButtonType == "addIPv6") then configRowId = "-1" if(cgi["hdCount"] ~= nil) then local hdCount = cgi["hdCount"] if(tonumber(hdCount) >= tonumber (maxLimitOutVal)) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "lan_dmz_rules_v6" end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "addinIPv6") then configRowId = "-1" if(cgi["hdInCount"] ~= nil) then local hdCount = cgi["hdInCount"] if(tonumber(hdCount) >= tonumber (maxLimitInVal)) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "lan_dmz_rules_v6" end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "editIPv6") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "editinIPv6") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and (ButtonType == "deleteIPv6" or ButtonType == "deleteinIPv6")) then local field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") if(ButtonType == "deleteIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") elseif(ButtonType == "deleteinIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallIBServices_IPv6") end -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyRules6 (rows, "delete") end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and (ButtonType == "enableIPv6" or ButtonType == "enableinIPv6")) then local field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") if(ButtonType == "enableIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") elseif(ButtonType == "enableinIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallIBServices_IPv6") end -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyRules6 (rows, "enable") end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and (ButtonType == "disableIPv6" or ButtonType == "disableinIPv6")) then local field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") if(ButtonType == "disableIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices_IPv6") elseif(ButtonType == "disableinIPv6") then field, splitted, rows = web.cgiSearch(cgi, "FirewallIBServices_IPv6") end -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyRules6 (rows, "disable") end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and (ButtonType == "moveRule" or ButtonType == "moveRuleIn")) then local inputTable = web.cgiToLuaTable (cgi) ruleType = 'SECURE_PUBLIC' tableName = 'FirewallOBServices_IPv6' position = inputTable["FirewallRules6.position"] or '1' if (ButtonType == "moveRuleIn") then ruleType = 'PUBLIC_SECURE' tableName = 'FirewallIBServices_IPv6' position = inputTable["FirewallRules6.positionIn"] or '1' end local field, splitted, rows = web.cgiSearch (cgi, tableName) if (rows and rows["1"]) then rowId = rows["1"] -- if any rows to move errorFlag, statusCode = fwView.moveRules6_NG (rowId, "move", ruleType, position) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute ("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage (NextPage, true, true) else ?> $|COMPANY_NAME|$ $|PRODUCT_FAMILY|$ - LAN DMZ Rules
 
LAN DMZ Rules
 
IPv6
IPv4
 
 
$| statusMessage or ''|$
Outbound Services
32) then fwServiceName = row["FirewallRules6.ServiceName"] row["FirewallRules6.ServiceName"] = string.sub(row["FirewallRules6.ServiceName"],1,32) .. "..." end ?>
  ! Index Service Name Filter LAN Users DMZ Users Log Action
$| i or '0' |$ $| row["FirewallRules6.ServiceName"] |$ $| action |$ $| lanuser |$ $| dmzuser |$ $| log |$
Inbound Services
32) then fwServiceName = row["FirewallRules6.ServiceName"] row["FirewallRules6.ServiceName"] = string.sub(row["FirewallRules6.ServiceName"],1,32) .. "..." end ?>
  ! Index Service Name Filter LAN Users DMZ Users Log Action
$| i or '0' |$ $| row["FirewallRules6.ServiceName"] |$ $| action |$ $| lanuser |$ $| dmzuser |$ $| log |$