diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 05:02:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 05:02:56 +0000 |
commit | 40b56dc18bb2fcfa7b1f67a9885a25636ce915cb (patch) | |
tree | c267157ce064c148408ed610802e096daccd5d2f /usr/local/www/firewall_nat.php | |
parent | 0397013a4044fd591079a007fb0cf126c5d85cd6 (diff) | |
download | pfsense-40b56dc18bb2fcfa7b1f67a9885a25636ce915cb.zip pfsense-40b56dc18bb2fcfa7b1f67a9885a25636ce915cb.tar.gz |
Add multi user firewall nat port forward capabilities.
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index 53cf508..6991283 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -182,6 +182,11 @@ include("head.inc"); </td> </tr> <?php $nnats = $i = 0; foreach ($a_nat as $natent): ?> + <?php + /* if user does not have access to edit an interface skip on to the next record */ + if(!have_natpfruleint_access($natent['interface'])) + continue; + ?> <tr valign="top" id="fr<?=$nnats;?>"> <td class="listt"><input type="checkbox" id="frc<?=$nnats;?>" name="rule[]" value="<?=$i;?>" onClick="fr_bgcolor('<?=$nnats;?>')" style="margin: 0; padding: 0; width: 15px; height: 15px;"></td> <td class="listt" align="center"></td> |