summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-04-24 22:16:48 -0400
committerChris Buechler <cmb@pfsense.org>2010-04-24 22:16:48 -0400
commite05b5278cf7fb238ee5355f9701be4c11869f1d2 (patch)
tree6e9d090356611041d3761aa37ea5b40f4e88e529 /usr/local/www/firewall_nat_1to1_edit.php
parentee8c38898ddc37bb606c86ff9258ff11014edff1 (diff)
downloadpfsense-e05b5278cf7fb238ee5355f9701be4c11869f1d2.zip
pfsense-e05b5278cf7fb238ee5355f9701be4c11869f1d2.tar.gz
remove this check, the WAN IP can be used in binat now with no problems
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php
index 62c4c33..daf5927 100755
--- a/usr/local/www/firewall_nat_1to1_edit.php
+++ b/usr/local/www/firewall_nat_1to1_edit.php
@@ -100,12 +100,6 @@ if ($_POST) {
$input_errors[] = "A valid internal subnet must be specified.";
}
- if (is_ipaddr($config['interfaces']['wan']['ipaddr'])) {
- if (check_subnets_overlap($_POST['external'], $_POST['subnet'],
- get_interface_ip("wan"), 32))
- $input_errors[] = "The WAN IP address may not be used in a 1:1 rule.";
- }
-
/* check for overlaps with other 1:1 */
foreach ($a_1to1 as $natent) {
if (isset($id) && ($a_1to1[$id]) && ($a_1to1[$id] === $natent))
OpenPOWER on IntegriCloud