summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-24 10:51:28 +0545
committerPhil Davis <phil.davis@inf.org>2017-01-24 10:51:28 +0545
commit877be5e6205ada2608b364f57150010ba473e66d (patch)
tree7c055b360e3242e9ece0a75c93c1b07bcfbc0970
parentf2e58c16307795f572ff443e999c54eb6a9839e7 (diff)
downloadpfsense-877be5e6205ada2608b364f57150010ba473e66d.zip
pfsense-877be5e6205ada2608b364f57150010ba473e66d.tar.gz
More required fields for NAT pages
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php4
-rw-r--r--src/usr/local/www/firewall_nat_edit.php4
-rw-r--r--src/usr/local/www/firewall_nat_npt_edit.php2
-rw-r--r--src/usr/local/www/firewall_nat_out_edit.php8
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 d3a7a92..49f572b 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -459,7 +459,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"]
$section->addInput(new Form_Select(
'interface',
- 'Interface',
+ '*Interface',
$pconfig['interface'],
$interfaces
))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.');
@@ -498,7 +498,7 @@ $group->setHelp('Enter the internal (LAN) subnet for the 1:1 mapping. ' .
$section->add($group);
-$group = new Form_Group('Destination');
+$group = new Form_Group('*Destination');
$group->add(new Form_Checkbox(
'dstnot',
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index d6550bb..ead080a 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -691,7 +691,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"]
$section->addInput(new Form_Select(
'interface',
- 'Interface',
+ '*Interface',
$pconfig['interface'],
$interfaces
))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.');
@@ -700,7 +700,7 @@ $protocols = "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF";
$section->addInput(new Form_Select(
'proto',
- 'Protocol',
+ '*Protocol',
$pconfig['proto'],
array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
))->setHelp('Choose which protocol this rule should match. In most cases "TCP" is specified.');
diff --git a/src/usr/local/www/firewall_nat_npt_edit.php b/src/usr/local/www/firewall_nat_npt_edit.php
index afaa9de..470e3c1 100644
--- a/src/usr/local/www/firewall_nat_npt_edit.php
+++ b/src/usr/local/www/firewall_nat_npt_edit.php
@@ -196,7 +196,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_Select(
'interface',
- 'Interface',
+ '*Interface',
$pconfig['interface'],
build_if_list()
))->setHelp('Choose which interface this rule applies to.' . '<br />' .
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
index 7d24ef6..b09efb8 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -471,7 +471,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"]
$section->addInput(new Form_Select(
'interface',
- 'Interface',
+ '*Interface',
$pconfig['interface'],
$interfaces
))->setHelp('The interface on which traffic is matched as it exits the firewall. In most cases this is "WAN" or another externally-connected interface.');
@@ -480,7 +480,7 @@ $protocols = "any TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP carp pfsync";
$section->addInput(new Form_Select(
'protocol',
- 'Protocol',
+ '*Protocol',
$pconfig['protocol'],
array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
))->setHelp('Choose which protocol this rule should match. In most cases "any" is specified.');
@@ -510,7 +510,7 @@ $group->add(new Form_Input(
$section->add($group);
-$group = new Form_Group('Destination');
+$group = new Form_Group('*Destination');
$group->add(new Form_Select(
'destination_type',
@@ -549,7 +549,7 @@ $section->addClass('translation');
$section->addInput(new Form_Select(
'target',
- 'Address',
+ '*Address',
$pconfig['target'],
build_target_list()
))->setHelp( 'Connections matching this rule will be mapped to the specified <b>Address</b>.' . '<br />' .
OpenPOWER on IntegriCloud