luci-app-firewall: Add clarification to masquerading option

Signed-off-by: Martijn Staal <27222398+mastaal@users.noreply.github.com>
This commit is contained in:
Martijn Staal 2023-01-20 11:41:53 +01:00
parent 7550ad69af
commit c54efde717

View 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')