[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How configure firewall with ftp



Op vr 09-07-2004, om 11:13 schreef Champaka Guruge:
> Hi all
> 
> I have configured a iptables firewall (2.4 Kernel). It
> has allowed any service form inside and only ssh and
> mail from outside.
> 
> My probles is, from inside I can not ftp to  outside
> server.
> 
> When i type ftp command it prompts username and
> passwords. but I can not get "ls" output. 
> 
> It gives
> 
> 550 Permission denied
> 425 use PORT or PASV first
> 
> 
> I hope Your help

You have to load a special module for iptables. This is becourse ftp
handels his data on a special manner. It uses port 20 and 21. This at
the same time. I dont know how the module is called but you can find it
at. modconf...

Regaards,

Master_PE



Reply to: