diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 22:58:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 22:58:33 +0000 |
commit | db19eb31d7e00410312f1b9725abd9d7e03ef988 (patch) | |
tree | 771583e6ba6fc6e11d8e10003f34fa315f007c2d | |
parent | f64460ef4162925dec76077fc05e43f85a37c60e (diff) | |
download | pfsense-db19eb31d7e00410312f1b9725abd9d7e03ef988.zip pfsense-db19eb31d7e00410312f1b9725abd9d7e03ef988.tar.gz |
Move RDR rule up higher in chain
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index c644832..b11ea76 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -438,6 +438,9 @@ 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; } } @@ -514,7 +517,6 @@ pass in quick on lo0 all pass out quick on lo0 all # enable ftp-proxy -rdr on $lanif proto tcp from any to any port 21 -> 127.0.0.1 port 8021 pass in on $wanif inet proto tcp from port 20 to ($wanif) user proxy flags S/SA keep state # allow access to DHCP server on LAN |