[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftp and firewall
You said that no one can connect to your net???? How do you expect to
receive data back? FTP uses ports 20/21 and >1024 for data transfer. 20/21
are for control. You need to open up 20/21 and > 1024 to receive data back.
Paul
-----Original Message-----
From: Erez Doron <erez@savan.com>
To: ILUG <linux-il@linux.org.il>; Net group for linux
<linux-net@vger.rutgers.edu>
Date: Sunday, February 08, 1998 4:09 AM
Subject: 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
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to majordomo@vger.rutgers.edu
>