diff options
author | Bill Marquette <billm@pfsense.org> | 2005-02-20 20:18:05 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-02-20 20:18:05 +0000 |
commit | a539f08be256d662fb0b7661eca43d03ca24e97a (patch) | |
tree | 363beae409e6ebc3cc78aaef4f0dfa4d7eae9873 /usr/local/www/firewall_nat_out.php | |
parent | deaec3a48f0b24e2788c0fdb5749a92febb86614 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_nat_out.php | 20 |
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> |