mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Move ftp proxy rules above
This commit is contained in:
parent
db19eb31d7
commit
202735b641
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user