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

Fix open all ports

This commit is contained in:
Ycarus 2019-01-07 07:54:18 +01:00
parent 95fb1bc0c0
commit 12a93ac458
2 changed files with 9 additions and 6 deletions

View file

@ -47,8 +47,9 @@
<div class="cbi-section-node">
<div class="cbi-section-descr"></div>
<div class="cbi-value">
<label class="cbi-value-title"><%:Redirects all ports from server to OpenMPTCProuter%></label>
<div class="cbi-value-field">
<label class="cbi-value-title"><%:Redirects all ports from server to OpenMPTCProuter%></label>
<div class="cbi-value-field">
<input type="hidden" name="server.<%=servername%>" value="<%=servername%>" />
<input type="checkbox" name="redirect_ports.<%=servername%>" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter",servername,"redirect_ports") == "1" then %>checked<% end %>>
</div>
</div>
@ -62,10 +63,10 @@
<input type="checkbox" name="obfs" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("shadowsocks-libev","tracker","obfs") == "1" then %>checked<% end %>>
<br />
<div class="cbi-value-description">
<%:OBFS will be enabled on both side%>
<%:OBFS will be enabled on both side%>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset class="cbi-section" id="networks">
<legend><%:Networks settings%></legend>