summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-02-20 20:18:05 +0000
committerBill Marquette <billm@pfsense.org>2005-02-20 20:18:05 +0000
commita539f08be256d662fb0b7661eca43d03ca24e97a (patch)
tree363beae409e6ebc3cc78aaef4f0dfa4d7eae9873 /usr/local/www/firewall_nat_out.php
parentdeaec3a48f0b24e2788c0fdb5749a92febb86614 (diff)
downloadpfsense-a539f08be256d662fb0b7661eca43d03ca24e97a.zip
pfsense-a539f08be256d662fb0b7661eca43d03ca24e97a.tar.gz
advanced nat can now do source port mapping (useful for IPSec traversal)
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php20
1 files changed, 19 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index a24caa8..38db4fe 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -130,7 +130,9 @@ if ($_GET['act'] == "del") {
<tr>
<td width="10%" class="listhdrr">Interface</td>
<td width="20%" class="listhdrr">Source</td>
+ <td width="20%" class="listhdrr">Source Port</td>
<td width="20%" class="listhdrr">Destination</td>
+ <td width="20%" class="listhdrr">NAT Port</td>
<td width="20%" class="listhdrr">Target</td>
<td width="25%" class="listhdr">Description</td>
<td width="5%" class="list"></td>
@@ -150,6 +152,14 @@ if ($_GET['act'] == "del") {
</td>
<td class="listr">
<?php
+ if (!$natent['sourceport'])
+ echo "*";
+ else
+ echo $natent['sourceport'];
+ ?>
+ </td>
+ <td class="listr">
+ <?php
if (isset($natent['destination']['any']))
echo "*";
else {
@@ -161,6 +171,14 @@ if ($_GET['act'] == "del") {
</td>
<td class="listr">
<?php
+ if (!$natent['natport'])
+ echo "*";
+ else
+ echo $natent['natport'];
+ ?>
+ </td>
+ <td class="listr">
+ <?php
if (!$natent['target'])
echo "*";
else
@@ -175,7 +193,7 @@ if ($_GET['act'] == "del") {
</tr>
<?php $i++; endforeach; ?>
<tr>
- <td class="list" colspan="5"></td>
+ <td class="list" colspan="7"></td>
<td class="list"> <a href="firewall_nat_out_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
</table>
OpenPOWER on IntegriCloud