luci-app-firewall: Add clarification to masquerading option
authorMartijn Staal <27222398+mastaal@users.noreply.github.com>
Fri, 20 Jan 2023 10:41:53 +0000 (11:41 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 3 Apr 2023 11:47:11 +0000 (13:47 +0200)
Signed-off-by: Martijn Staal <27222398+mastaal@users.noreply.github.com>
(cherry picked from commit c54efde71718f6a05b7832f5092e7a7da83d22eb)

applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js

index 58cd2a7c1e9c2bb62cc7d869f16936883073db29..53a07b6fb134658ac30725d5ea51b9cc092b706a 100644 (file)
@@ -156,7 +156,8 @@ return view.extend({
                p[1].default = fwDefaults.getOutput();
                p[2].default = fwDefaults.getForward();
 
-               o = s.taboption('general', form.Flag, 'masq', _('Masquerading'));
+               o = s.taboption('general', form.Flag, 'masq', _('Masquerading'),
+                       _('Enable network address and port translation (NAT or NAPT) for outbound traffic on this zone. This is typically enabled on the <em>wan</em> zone.'));
                o.editable = true;
                o.tooltip = function(section_id) {
                        var masq_src = uci.get('firewall', section_id, 'masq_src')