1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-13 03:41:54 +00:00
openmptcprouter/patches/fullconenat-luci.patch
Ycarus (Yannick Chabanois) b46478b0ba Add Full Cone NAT support
2020-04-02 14:14:51 +02:00

13 lines
555 B
Diff

--- a/feeds/luci/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
+++ b/feeds/luci/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
@@ -131,6 +131,10 @@ return L.view.extend({
o = s.taboption('general', form.Flag, 'masq', _('Masquerading'));
o.editable = true;
+ o = s.taboption('general', form.Flag, 'fullcone', _('Full Cone'));
+ o.editable = true;
+ o.depends('masq', '1');
+
o = s.taboption('general', form.Flag, 'mtu_fix', _('MSS clamping'));
o.modalonly = true;