Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 17:32:37 -0500 (EST)
From:      "jamgill@uu.net" <jamgill@UU.NET>
To:        Donnie Jones <donniejones18@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ftp server and freebsd gateway ( ipnat )
Message-ID:  <Pine.GSO.4.20.0203161729570.13654-100000@haiti.corp.us.uu.net>
In-Reply-To: <20020316013151.12f9b698.donniejones18@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Donnie,

Reading http://www.slacksite.com/other/ftp.html will explain a lot I
think.  The other response to your question I saw seemed sound so I'll not
repeat it here.

--gill

On Sat, 16 Mar 2002, Donnie Jones wrote:

> 
> Hey all.
> 
> I am having some problems with people connecting to my ftp servers behing my FBSD gateway.
> 
> I am using ip nat for my LAN with 3 hosts running ftp servers behing the FBSD gateway.
> 
> IP Addresses for LAN ftp servers:
> 
> 192.168.0.5  --  1st ftp server
> 192.168.0.6  --  2nd ftp server
> 192.168.0.7  --  3rd ftp server
> 
> To access these ftp servers I am using ip nat's port redirection:
> 
> rdr fxp0 12.220.244.231/32 port 13005 -> 192.168.0.5 port 21 # 1st ftp server
> 
> rdr fxp0 12.220.244.231/32 port 13006 -> 192.168.0.6 port 21 # 2nd ftp server
> 
> rdr fxp0 12.220.244.231/32 port 13007 -> 192.168.0.7 port 21 # 3rd ftp server
> 
> By doing this, a person using ftp can connect to my IP Address at that specific port and then it gets redirected to the correct ftp server behind the FBSD gateway on the LAN.
> 
> Now, this works for some ftp clients, but most of them, especially windows clients, have issues with getting the "list" for their directories, and it just stalls.  Eventually, the client will timeout and they are disconnected, therefore, preventing any files to be transferred.
> 
> I am not sure what else can be done to fix this.  I've tried having the clients use active and tried passive with no better results.
> 
> Any ideas on things to try to solve this would be wonderful.
> 
> I have attempted to set up an ftp proxy, but I was confused in how to use the program jftpgw. 
> 
> If anyone has had success with this program, a sample jftpgw.conf, other than the one that comes with the program, or some url's for online docs would be great for me to look at.
> 
> Also, part of the reason I am asking is that this seems to be a big problem for other users also, and there is not very much documentation available for explanations on how to fix these issues.  
> 
> So, I would like to write up a "howto" to facilitate others in this, with the help I receive from this list.
> 
> I have already written a "FBSD gateway howto" available at http://www.darthik.com, under the FreeBSD tab, if anyone would like to take a look at it and give me some comments.
> 
> 
> Thanks for your time, sorry about the length.
> 
> -Donnie Jones
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--gill  | Tatu Ylonen, SSH 1.2.12 README:  "Beware that the most effective
        | way for someone to decrypt your data may be with a rubber hose."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.20.0203161729570.13654-100000>