diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-02 20:13:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-02 20:13:03 +0000 |
commit | ce30000104a4479b0de90043743b1309427b116e (patch) | |
tree | 9656837412ae57897f3d263f9eb2ca2bd18f8ee0 /etc | |
parent | e521ef27e4fec28034ac816592b10cf9cc5cf2f2 (diff) | |
download | pfsense-ce30000104a4479b0de90043743b1309427b116e.zip pfsense-ce30000104a4479b0de90043743b1309427b116e.tar.gz |
s/21/8021/
Ticket #821
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index e9125f9..ad55679 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1408,7 +1408,7 @@ EOD; generate_optcfg_array($optcfg); foreach($optcfg as $oc) { if(!isset($oc['gateway']) && $oc['if'] <> "") { - $ipfrules .= "pass in quick on " . $oc['if'] . " inet proto tcp from any to (lo0) port 21 keep state label \"FTP PROXY: Allow traffic to localhost\"\n"; + $ipfrules .= "pass in quick on " . $oc['if'] . " inet proto tcp from any to (lo0) port 8021 keep state label \"FTP PROXY: Allow traffic to localhost\"\n"; } } @@ -1416,7 +1416,7 @@ EOD; anchor "ftpproxy" anchor "pftpx/*" -pass in quick on $lanif inet proto tcp from any to (lo0) port 21 keep state label "FTP PROXY: Allow traffic to localhost" +pass in quick on $lanif inet proto tcp from any to (lo0) port 8021 keep state label "FTP PROXY: Allow traffic to localhost" pass in quick on $wanif inet proto tcp from port 20 to ($wanif) port > 49000 user proxy flags S/SA keep state label "FTP PROXY: PASV mode data connection" EOD; |