summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-29 16:10:49 -0500
committerjim-p <jimp@pfsense.org>2010-12-29 16:11:26 -0500
commitf2141df0da5e2fbd712f407e54fcfa0f18d72fb6 (patch)
treea9bb85e221416fe2928d89a083bf5acc4c52fe94 /usr/local/www/firewall_nat_out.php
parentd3bea81878e4964f23ee55b669988e4d7976dc26 (diff)
downloadpfsense-f2141df0da5e2fbd712f407e54fcfa0f18d72fb6.zip
pfsense-f2141df0da5e2fbd712f407e54fcfa0f18d72fb6.tar.gz
Allow entering an arbitrary subnet for outbound NAT translations.
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index bf72f2c..e27d55e 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -392,6 +392,8 @@ include("head.inc");
<?php
if (!$natent['target'])
echo "*";
+ elseif ($natent['target'] == "other-subnet")
+ echo $natent['targetip'] . '/' . $natent['targetip_subnet'];
else
echo $natent['target'];
?>
OpenPOWER on IntegriCloud