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

Add option to disable auto fw changes

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-01 19:43:36 +02:00
parent af495c5efd
commit 7ac643f2ba
2 changed files with 9 additions and 0 deletions

View file

@ -578,6 +578,8 @@ function settings_add()
for server, _ in pairs(servers) do
local redirectports = luci.http.formvalue("redirect_ports.%s" % server) or "0"
ucic:set("openmptcprouter",server,"redirect_ports",redirectports)
local nofwredirect = luci.http.formvalue("nofwredirect.%s" % server) or "0"
ucic:set("openmptcprouter",server,"nofwredirect",nofwredirect)
end
-- Set tcp_keepalive_time