<%+header%> <% if stderr and #stderr > 0 then %>
<%=pcdata(stderr)%>
<% end %> <% local latest_omr_version=luci.model.uci.cursor():get("openmptcprouter","latest_versions","vps") local ucic = luci.model.uci.cursor() menuentry = ucic:get("openmptcprouter","settings","menu") or "openmptcprouter" omr_test = false uci:foreach("openmptcprouter","server", function(s) servername = s[".name"] local omr_version=luci.model.uci.cursor():get("openmptcprouter",servername,"omr_version") if omr_version ~= "" and latest_omr_version ~= "" and omr_version ~= latest_omr_version then omr_test = true end end) if omr_test == true then %>

<%:Update server%>

<%:Update remotly servers to latest version and reboot them.%> <%:Beta%>
<% end %>

<%:Advanced Settings%>

<%:Server settings%> <% uci:foreach("openmptcprouter","server", function(s) servername = s[".name"] %>

<%=servername%>

checked<% end %>>
<%:You shouldn't do that and you should redirect only needed ports%>
checked<% end %>>
<% end) %> <% local obfs_installed = nixio.fs.access("/usr/bin/obfs-local") local v2ray_installed = nixio.fs.access("/usr/bin/v2ray-plugin") if obfs_installed or v2ray_installed then %>
checked<% end %>>
<%:Obfuscating will be enabled on both side%>
<% end %>

<%:Networks settings%>
">
<%:How often TCP sends out keepalive messages when keepalive is enabled.%>
">
<%:The length of time an orphaned (no longer referenced by any application) connection will remain in the FIN_WAIT_2 state before it is aborted at the local end.%>
">
<%:Number of times initial SYNs for an active TCP connection attempt will be retransmitted.%>
">
<%:This value influences the time, after which TCP decides, that something is wrong due to unacknowledged RTO retransmissions, and reports this suspicion to the network layer.%>
">
<%:This value influences the timeout of an alive TCP connection, when RTO retransmissions remain unacknowledged.%>
">
">
checked<% end %>>
checked<% end %>>
<%:When enable check are done on external sites to get each WAN IP and the IP used to go outside.%>
checked<% end %>>
<%:Disable TCP Fast Open on Linux and Shadowsocks configuration%>
checked<% end %>>
<%:Optimize for latency instead of bandwidth%>
checked<% end %>>

<%:Other settings%>
checked<% end %>>
<%:Save vnstats statistics on disk%>
checked<% end %>>
<%:Disable gateway ping check in status page%>
checked<% end %>>
<%:Disable HTTP test on Server API%>
">
<%:Timeout for VPS checks on status pages%>
">
<%:Timeout for retrieving WANs IP on status pages%>
checked<% end %>>
<%:Disable renaming interfaces%>
checked<% end %>>
<%:When proxy shadowsocks is used, use it for UDP if VPN down%>
checked<% end %>>
<%:When proxy V2Ray/XRay VLESS, VMESS or Trojan is used, use it for UDP%>
checked<% end %>>
<%:Disable default gateway, no internet if VPS are down%>
checked<% end %>>
<%:Disable server ping status check%>
checked<% end %>>
<%:Authorize access to proxy only from LAN firewall zone%>
checked<% end %>>
<%:Disable route loop detection%>
checked<% end %>>
<%:Disable multipath test using tracebox%>
checked<% end %>>
<%:Disable nDPI, used for protocols in OMR-ByPass%>
checked<% end %>>
<%:Disable ModemManager%>
checked<% end %>>
<%:Enable debug logs%>
<% if nixio.fs.access("/lib/modules/" .. nixio.uname().release .. "/shortcut-fe.ko") then %>
<%:Qualcomm Shortcut FE driver%>
checked<% end %>>
checked<% end %>>
<% end %> <% if nixio.fs.access("/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq") then %>
<%:Systems settings%>
">
">
<% end %>
<%+footer%>