Merge pull request #6204 from mastaal/clarify-masq-option

luci-app-firewall: Add clarification to masquerading option
This commit is contained in:
Jo-Philipp Wich 2023-02-04 14:09:16 +01:00 committed by GitHub
commit 30fa6bcc66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,8 @@ return view.extend({
p[1].default = fwDefaults.getOutput(); p[1].default = fwDefaults.getOutput();
p[2].default = fwDefaults.getForward(); 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.editable = true;
o.tooltip = function(section_id) { o.tooltip = function(section_id) {
var masq_src = uci.get('firewall', section_id, 'masq_src') var masq_src = uci.get('firewall', section_id, 'masq_src')