summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-03-08 13:13:53 -0500
committerjim-p <jimp@pfsense.org>2016-03-08 13:13:53 -0500
commitb4e955d94fa063efda750cdb6adf9c73f7051ef1 (patch)
treebb703faa107a894de5304bcc9eef6a6bea560a9e /src/usr/local/www/firewall_nat_1to1_edit.php
parent882351c4413b8f183e5913e89c83399ef6f68e5e (diff)
downloadpfsense-b4e955d94fa063efda750cdb6adf9c73f7051ef1.zip
pfsense-b4e955d94fa063efda750cdb6adf9c73f7051ef1.tar.gz
Correct the text and placement of the disable and nobinat options for 1:1 NAT rules. Fixes #5966
Diffstat (limited to 'src/usr/local/www/firewall_nat_1to1_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
index b6dfce8..e1dcd95 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -400,18 +400,18 @@ $form = new Form(new Form_Button(
$section = new Form_Section('Edit NAT 1:1 Entry');
$section->addInput(new Form_Checkbox(
- 'nobinat',
- 'Negate',
- 'This rule will be excluded from the NAT',
- $pconfig['nobinat']
-))->setHelp('Use this to exclude addresses from a rule that follows this one');
+ 'disabled',
+ 'Disabled',
+ 'Disable this rule',
+ $pconfig['disabled']
+))->setHelp('When disabled, the rule will not have any effect.');
$section->addInput(new Form_Checkbox(
- 'disabled',
+ 'nobinat',
'No BINAT (NOT)',
- 'Disable redirection for traffic matching this rule',
- $pconfig['disabled']
-))->setHelp('This option is rarely needed, don\'t use this unless you know what you\'re doing.');
+ 'Do not perform binat for the specified address',
+ $pconfig['nobinat']
+))->setHelp('Excludes the address from a later, more general, rule');
$iflist = get_configured_interface_with_descr(false, true);
OpenPOWER on IntegriCloud