Move ftp proxy rules above

This commit is contained in:
Scott Ullrich 2005-01-10 23:28:13 +00:00
parent db19eb31d7
commit 202735b641

View File

@ -286,6 +286,11 @@ function filter_nat_rules_generate() {
$natrules = "";
$natrules .= <<<EODR
# auto-proxy
rdr on $lanif proto tcp from any to any port 21 -> 127.0.0.1 port 8021
EODR
/* any 1:1 mappings? */
if (is_array($config['nat']['onetoone'])) {
foreach ($config['nat']['onetoone'] as $natent) {
@ -438,9 +443,6 @@ function filter_nat_rules_generate() {
rdr on $wanif proto gre from any to any port 0 -> $pptpdtarget
rdr on $wanif proto tcp from any to any port 1723 -> $pptpdtarget
# auto-proxy
rdr on $lanif proto tcp from any to any port 21 -> 127.0.0.1 port 8021
EOD;
}
}