Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 23:05:14 -0400
From:      "Peter C. Lai" <sirmoo@cowbert.2y.net>
To:        freebsd-questions@freebsd.org
Subject:   tunneling ftp through ipfw
Message-ID:  <20020715230514.A32437@cowbert.2y.net>

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

I need to be able to tunnel ftp through a nat gateway to my
freebsd server.
The topology looks like this:

client	--------> win2k ICS		--------> freebsd ftp box
(192.168.0.2) 	  (192.168.0.1 | External IP)	  (External IP2)

I can ftp normally since the win2k gateway is quite forgiving.
However, I want to avoid using plaintext authentication to the freebsd
box, so I want to use SSH to tunnel the ftp-control channel.
I can set up the outgoing tunnel fine.
I can do 'ftp localhost' on the client and log in fine. I cannot
establish a data connection though.
Furthermore, I have tried this with stunnel and it also doesn't work.
How would I do this? I have to use FTP because the ftp is being done
by some oldish win32 program that doesn't do sftp etc.

thanks
pete

-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology | Undergraduate Research Assistant
Yale University School of Medicine
Center for Medical Informatics | Research Assistant
http://cowbert.2y.net/


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?20020715230514.A32437>