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 restrict or not to LAN fw zone in interface, disabled b… (#421)

This commit is contained in:
suyuan 2024-01-24 02:22:35 +08:00 committed by GitHub
commit ed8f11a432
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 1 deletions

View file

@ -331,6 +331,16 @@
</div>
</div>
</div>
<div class="cbi-value">
<label class="cbi-value-title"><%:Restrict proxy to LAN zone%></label>
<div class="cbi-value-field">
<input type="checkbox" name="restricttolan" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","restrict_to_lan") == "1" then %>checked<% end %>>
<br />
<div class="cbi-value-description">
<%:Authorize access to proxy only from LAN firewall zone%>
</div>
</div>
</div>
<div class="cbi-value">
<label class="cbi-value-title"><%:Disable route loop detection%></label>
<div class="cbi-value-field">