summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-22 16:08:49 +0545
committerPhil Davis <phil.davis@inf.org>2017-01-22 16:08:49 +0545
commitf2e58c16307795f572ff443e999c54eb6a9839e7 (patch)
treefd342faec4c055e0a35a2341e217e27b981397ea /src/usr/local
parentb2bb49709d6d1cb845f2c7caf40bebe375ecb2d7 (diff)
downloadpfsense-f2e58c16307795f572ff443e999c54eb6a9839e7.zip
pfsense-f2e58c16307795f572ff443e999c54eb6a9839e7.tar.gz
Required fields in NAT pages
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php4
-rw-r--r--src/usr/local/www/firewall_nat_edit.php8
-rw-r--r--src/usr/local/www/firewall_nat_npt_edit.php4
-rw-r--r--src/usr/local/www/firewall_nat_out_edit.php2
4 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 9306ee2..d3a7a92 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -466,12 +466,12 @@ $section->addInput(new Form_Select(
$section->addInput(new Form_IpAddress(
'external',
- 'External subnet IP',
+ '*External subnet IP',
$pconfig['external']
))->setHelp('Enter the external (usually on a WAN) subnet\'s starting address for the 1:1 mapping. ' .
'The subnet mask from the internal address below will be applied to this IP address.');
-$group = new Form_Group('Internal IP');
+$group = new Form_Group('*Internal IP');
$group->add(new Form_Checkbox(
'srcnot',
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index c1cc5b8..d6550bb 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -788,7 +788,7 @@ $group->setHelp('Specify the source port or port range for this rule. This is us
$section->add($group);
-$group = new Form_Group('Destination');
+$group = new Form_Group('*Destination');
$group->add(new Form_Checkbox(
'dstnot',
@@ -813,7 +813,7 @@ $group->add(new Form_IpAddress(
$section->add($group);
-$group = new Form_Group('Destination port range');
+$group = new Form_Group('*Destination port range');
$group->addClass('dstportrange');
$group->add(new Form_Select(
@@ -851,13 +851,13 @@ $section->add($group);
$section->addInput(new Form_IpAddress(
'localip',
- 'Redirect target IP',
+ '*Redirect target IP',
$pconfig['localip'],
'ALIASV4V6'
))->setHelp('Enter the internal IP address of the server on which to map the ports.' . '<br />' .
'e.g.: 192.168.1.12');
-$group = new Form_Group('Redirect target port');
+$group = new Form_Group('*Redirect target port');
$group->addClass('lclportrange');
$group->add(new Form_Select(
diff --git a/src/usr/local/www/firewall_nat_npt_edit.php b/src/usr/local/www/firewall_nat_npt_edit.php
index 49e5cfe..afaa9de 100644
--- a/src/usr/local/www/firewall_nat_npt_edit.php
+++ b/src/usr/local/www/firewall_nat_npt_edit.php
@@ -211,7 +211,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_IpAddress(
'src',
- 'Address',
+ '*Address',
$pconfig['src'],
'V6'
))->addMask('srcmask', $pconfig['srcmask'])->setHelp('Internal (LAN) ULA IPv6 Prefix for the Network Prefix translation. ' .
@@ -226,7 +226,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_IpAddress(
'dst',
- 'Address',
+ '*Address',
$pconfig['dst'],
'V6'
))->addMask('dstmask', $pconfig['dstmask'])->setHelp('Global Unicast routable IPv6 prefix');
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
index 302bf36..7d24ef6 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -485,7 +485,7 @@ $section->addInput(new Form_Select(
array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
))->setHelp('Choose which protocol this rule should match. In most cases "any" is specified.');
-$group = new Form_Group('Source');
+$group = new Form_Group('*Source');
$group->add(new Form_Select(
'source_type',
OpenPOWER on IntegriCloud