Hi,
ftp use port 20 for the data transfer.
It looks like you have not opened that.
Port 21 is just for making the ftp connection.
I think you also need to call a module ipcontract to allow the ftp 
connection
to be initiated and the data on another port to be seen as part of the 
same established connection.
hth
Willem

On 7 Aug 2003, Sinon wrote:

> 
> Hello all
> 
> I have setup an WWW, FTP, POP and SMTP server on an Red Hat Linux 7.1 Box. I have 
> configured ipchains through the lokkit utility but it seems as not all rules do 
> work...
> 
> Here are my rules defined in ipchains:
> :input ACCEPT
> :forward ACCEPT
> :output ACCEPT
> -A input -s 0/0 -d 0/0 110 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 25 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> -A input -s  53 -d 0/0 -p udp -j ACCEPT
> -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
> -A input -s 0/0 -d 0/0 -p udp -j REJECT
> 
> Even though, FTP should be allowed according to line 5, I'm able to connect to the 
> ftp server but I can't get the directory listing... The ftp server is functioning 
> correctly though. If I stop ipchains, I can log in via ftp and everything is fine. 
> Can somebody tell me what might be wrong or what extra rule would need to be defined 
> in order to make it work?
> 
> Cheers,
> Peter
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to