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

Re: ftp and firewall




Hi!
	ftp uses 2 modes -- passive, and active.

	In active mode, the clients binds a listenning socket and the
server connects. With passive it is the oopposite.

	If this is the problem with ur setup, enable passive modeat the
ftp> prompt. It's a toggle.

	All the best!

On 
HiSun, 
8 
Feb 1998, Erez Doron wrote:

> Hi
> 
> I have a local net which is connected throgh a linux box to the
> internet.
> I have one IP so the linux does ip-masqurading.
> I've also opend all my tcp ports to the internet with ipfwadm ... -k
> so no one can connect to my net, but i can connect outside.
> 
> everything works o.k except ftp.
> i can ftp anywhere, but when i try to retrive something ( i.e. get
> filename )
> i get a data connection error.
> it seems the remote site tries to open a connection to my machine, but
> can't because
> my port is closed from outside ( and maybe the firewall wouldn't know to
> where
> it should go even if i allow connecting from outside).
> 
> any solutions ?
> 
> Thanks
> Erez
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
>