From owner-freebsd-questions Sat Mar 16 14:33: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cmr0.ash.ops.us.uu.net (cmr0.ash.ops.us.uu.net [198.5.241.38]) by hub.freebsd.org (Postfix) with ESMTP id 4F36037B41D for ; Sat, 16 Mar 2002 14:32:53 -0800 (PST) Received: from csserve0.corp.us.uu.net by cmr0.ash.ops.us.uu.net with ESMTP (peer crosschecked as: csserve0.corp.us.uu.net [153.39.88.140]) id QQmgmk25202; Sat, 16 Mar 2002 22:32:52 GMT Received: from haiti.corp.us.uu.net by csserve0.corp.us.uu.net with ESMTP (peer crosschecked as: localhost [127.0.0.1]) id QQmgmk29131; Sat, 16 Mar 2002 17:32:38 -0500 (EST) Received: from localhost (jamgill@localhost) by haiti.corp.us.uu.net (8.10.2+Sun/8.9.3) with ESMTP id g2GMWbN13660; Sat, 16 Mar 2002 17:32:37 -0500 (EST) X-Authentication-Warning: haiti.corp.us.uu.net: jamgill owned process doing -bs Date: Sat, 16 Mar 2002 17:32:37 -0500 (EST) From: "jamgill@uu.net" X-Sender: jamgill@haiti.corp.us.uu.net To: Donnie Jones Cc: freebsd-questions@freebsd.org Subject: Re: ftp server and freebsd gateway ( ipnat ) In-Reply-To: <20020316013151.12f9b698.donniejones18@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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