summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-24 10:51:28 +0545
committerRenato Botelho <renato@netgate.com>2017-01-30 10:32:02 -0200
commit129a43703414ef81e95db39fe5e8762d1218e9b2 (patch)
tree9f8ceef8c7577313a650b9b64d343a4b547cbb9e /src
parent65b8c1ed0ae8c1cd349932c4860cd2a3c4cda02c (diff)
downloadpfsense-129a43703414ef81e95db39fe5e8762d1218e9b2.zip
pfsense-129a43703414ef81e95db39fe5e8762d1218e9b2.tar.gz
More required fields for NAT pages
(cherry picked from commit 877be5e6205ada2608b364f57150010ba473e66d)
Diffstat (limited to 'src')
-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 e34a969..a091612 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -491,7 +491,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.');
@@ -530,7 +530,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 9d8543e..90b563a 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -723,7 +723,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.');
@@ -732,7 +732,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 d54ed36..d991472 100644
--- a/src/usr/local/www/firewall_nat_npt_edit.php
+++ b/src/usr/local/www/firewall_nat_npt_edit.php
@@ -227,7 +227,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 9051b98..030ed7d 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -504,7 +504,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.');
@@ -513,7 +513,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.');
@@ -543,7 +543,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',
@@ -582,7 +582,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