diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 23:28:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 23:28:13 +0000 |
commit | 202735b641f3ecd333bd5cecec8b1d9b5bb0fda7 (patch) | |
tree | 2eddde9b8901b2ca3f686be08beaf108254405d4 | |
parent | db19eb31d7e00410312f1b9725abd9d7e03ef988 (diff) | |
download | pfsense-202735b641f3ecd333bd5cecec8b1d9b5bb0fda7.zip pfsense-202735b641f3ecd333bd5cecec8b1d9b5bb0fda7.tar.gz |
Move ftp proxy rules above
-rw-r--r-- | etc/inc/filter.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index b11ea76..c857c74 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -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; } } |