diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:54:44 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:54:44 +0000 |
commit | aad51dbf2b98ed8df23946f1d72e1b0fbadf9ba3 (patch) | |
tree | 76a84b2085e6cd483ede4ccb3cf13cb1345aae94 /usr/local | |
parent | 6b31f539a0fa36ffcfde8133fee89368b3a40707 (diff) | |
download | pfsense-aad51dbf2b98ed8df23946f1d72e1b0fbadf9ba3.zip pfsense-aad51dbf2b98ed8df23946f1d72e1b0fbadf9ba3.tar.gz |
Add the no nat for tftp-proxy entry. Ticket #140
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 1e1293e..1e29b0b 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -102,7 +102,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") { foreach ($ifdescrs as $if2 => $ifdesc2) { if (!interface_has_gateway($if2)) continue; - /* XXX: Not yet. + $natent = array(); $natent['nonat'] = true; $natent['source']['network'] = "any"; @@ -113,7 +113,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") { $natent['destination']['any'] = true; $natent['natport'] = ""; $a_out[] = $natent; - */ + $natent = array(); $natent['source']['network'] = "{$osn}/{$ossubnet}"; $natent['sourceport'] = "500"; |