diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-04-24 22:16:48 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-04-24 22:16:48 -0400 |
commit | e05b5278cf7fb238ee5355f9701be4c11869f1d2 (patch) | |
tree | 6e9d090356611041d3761aa37ea5b40f4e88e529 /usr | |
parent | ee8c38898ddc37bb606c86ff9258ff11014edff1 (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 6 |
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)) |