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

@ -53,6 +53,13 @@
<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>
<div class="cbi-value">
<label class="cbi-value-title"><%:Disable ports redirection defined in firewall from server to this router%></label>
<div class="cbi-value-field">
<input type="hidden" name="server.<%=servername%>" value="<%=servername%>" />
<input type="checkbox" name="nofwredirect.<%=servername%>" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter",servername,"nofwredirect") == "1" then %>checked<% end %>>
</div>
</div>
</div>
<%
end)