<inputtype="checkbox"name="redirect_ports.<%=servername%>"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter",servername,"redirect_ports")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="nofwredirect.<%=servername%>"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter",servername,"nofwredirect")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="obfs"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("shadowsocks-libev","sss0","obfs")=="1"then%>checked<% end %>>
<optionvalue="v2ray"<%ifluci.model.uci.cursor():get("shadowsocks-libev","sss0","obfs_plugin")=="v2ray"then%>selected="selected"<% end %>>v2ray</option>
<optionvalue="obfs"<%ifluci.model.uci.cursor():get("shadowsocks-libev","sss0","obfs_plugin")=="obfs"then%>selected="selected"<% end %>>simple-obfs</option>
<optionvalue="http"<%ifluci.model.uci.cursor():get("shadowsocks-libev","tracker_sss0","obfs_type")=="http"then%>selected="selected"<% end %>>http</option>
<optionvalue="tls"<%ifluci.model.uci.cursor():get("shadowsocks-libev","tracker_sss0","obfs_type")=="tls"then%>selected="selected"<% end %>>tls</option>
<%: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.%>
<%: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.%>
</div>
</div>
</div>
<divclass="cbi-value">
<labelclass="cbi-value-title"><%:IPv4 TCP SYN retries2%></label>
<inputtype="checkbox"name="enableipv6"class="cbi-input-checkbox"value="0"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","disable_ipv6")=="0"then%>checked<% end %>>
<inputtype="checkbox"name="externalcheck"class="cbi-input-checkbox"value="0"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","external_check")=="0"then%>checked<% end %>>
<inputtype="checkbox"name="disablefastopen"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","disable_fastopen")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="enablenodelay"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","enable_nodelay")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="savevnstat"class="cbi-input-checkbox"value="1"<%ifluci.util.trim(luci.sys.exec("uci-qgetopenmptcprouter.settings.vnstat_backup"))=="1"then%>checked<% end %>>
<inputtype="checkbox"name="disablegwping"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","disablegwping")=="1"then%>checked<% end %>>
<labelclass="cbi-value-title"><%:Disable interfaces auto rename%></label>
<divclass="cbi-value-field">
<inputtype="checkbox"name="disableintfrename"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","disableintfrename")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="shadowsocksudp"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","shadowsocksudp")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="disabledefaultgw"class="cbi-input-checkbox"value="0"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","defaultgw")=="0"then%>checked<% end %>>
<br/>
<divclass="cbi-value-description">
<%:Disable default gateway, no internet if VPS are down%>
<inputtype="checkbox"name="disableserverping"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","disableserverping")=="1"then%>checked<% end %>>
<inputtype="checkbox"name="disabletracebox"class="cbi-input-checkbox"value="0"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","tracebox")=="0"then%>checked<% end %>>
<inputtype="checkbox"name="debug"class="cbi-input-checkbox"value="1"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","debug")=="1"then%>checked<% end %>>
<optionvalue="change"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","master")=="change"then%>selected="selected"<% end %>><%:On wizard change%></option>
<optionvalue="dynamic"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","master")=="dynamic"then%>selected="selected"<% end %>><%:Dynamic change%></option>
<optionvalue="static"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","master")=="static"then%>selected="selected"<% end %>><%:No change%></option>
<optionvalue="balancing"<%ifluci.model.uci.cursor():get("openmptcprouter","settings","master")=="balancing"then%>selected="selected"<% end %>><%:Balancing%></option>