From 202735b641f3ecd333bd5cecec8b1d9b5bb0fda7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 10 Jan 2005 23:28:13 +0000 Subject: Move ftp proxy rules above --- etc/inc/filter.inc | 8 +++++--- 1 file 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 .= << 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; } } -- cgit v1.1