From owner-freebsd-isp Fri Sep 24 2:19:33 1999 Delivered-To: freebsd-isp@freebsd.org Received: from thrir.virtuell.com (www.virtuell.com [212.6.128.201]) by hub.freebsd.org (Postfix) with SMTP id AEA4814F59 for ; Fri, 24 Sep 1999 02:19:29 -0700 (PDT) (envelope-from smoerk@gmx.de) Received: (qmail 3652 invoked from network); 24 Sep 1999 09:04:42 -0000 Received: from dialin-194-29-41-176.frankfurt.gigabell.net (HELO localhost) (194.29.41.176) by thrir.virtuell.com with SMTP; 24 Sep 1999 09:04:41 -0000 From: "smoerk@gmx.de" To: "FreeBSD-ISP List" Date: Fri, 24 Sep 1999 11:20:03 +0200 Reply-To: "smoerk@gmx.de" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 95 (4.0.950) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: tunneling ftp from local 127.0.0.1 to remote 127.0.0.1 (SSH 1.5.27) Message-Id: <19990924091930.AEA4814F59@hub.freebsd.org> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I tunnel my ftp connections using TeraTerm SSH and LeechFTP as ftp-client. It works when I use the remote IP which is reachable from the Internet, but it doesn't work if I use 127.0.0.2 as remote adress (see log below). The outside world shouldn't see a ftp server, a connection to the ftp should only be established through a ssh tunnel. How could I do this? < 220 ProFTPD 1.2.0pre3 Server (Purzelbaum) [127.0.0.2] > USER root < 331 Password required for root. > PASS ***** < 230 User root logged in. > REST 1 < 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer. > REST 0 < 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer. > SYST < 215 UNIX Type: L8 > PWD < 257 "/root" is current directory. ~ Login completed. > CWD /etc < 250 CWD command successful. > PWD < 257 "/etc" is current directory. > PASV < 227 Entering Passive Mode (127,0,0,2,81,192) > TYPE A < 200 Type set to A. > LIST ! Socket Error: no connection ~ Could not retrieve directory listing for "/etc/" ~ Disconnected To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message