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:
parent
af495c5efd
commit
7ac643f2ba
2 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue