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

ftp and firewall



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