[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux ftp server behind OpenBSD 2.9 firewall
Saad Kadhi wrote:
> On Fri, 2002-03-08 at 19:09, Gary S MacKay wrote:
>>they can not do an 'ls' nor can they upload a file to my server. They get a
>>'Could not connect data socket' error message. What am I missing? Can
>>anyone point me to a doc on setting this up. I love reading!
It is not easy, and ftp-proxy is probably not what you are searching
for. If you got an static ip, to the outside world you are just fine.
Then you take proftpd or pureftpd as ftp server and set up you public IP
as masquerade adress in the ftp server's config file.
Now you could get passive connections to work. (Port 21 has to be open
and the ones you choose for passive ftp), also set up in your ftp
server's config file the port range which to use for passive ftp, so you
have only to open these ports additionally. For active FTP, your ftp
server must be able to establish a connection to any port at the ftp
Hope that helps a bit.
P.S. PureFTPD http://www.pureftpd.org ProFTPD http://www.proftpd.org