From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 14:00:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0589B37B401 for ; Mon, 2 Jun 2003 14:00:22 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 486F243F3F for ; Mon, 2 Jun 2003 14:00:21 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc52) with ESMTP id <2003060221002005200r1lpie>; Mon, 2 Jun 2003 21:00:20 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h52L0JOA062146; Mon, 2 Jun 2003 17:00:19 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h52L0Iw8062143; Mon, 2 Jun 2003 17:00:18 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Daniela References: <200305310030.58636.dgw@liwest.at> <44of1h5pbx.fsf@be-well.ilk.org> <200306020634.04321.dgw@liwest.at> From: Lowell Gilbert Date: 02 Jun 2003 17:00:18 -0400 In-Reply-To: <200306020634.04321.dgw@liwest.at> Message-ID: <44wug419gd.fsf@be-well.ilk.org> Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: Complicated routing/SSH-FTP tunneling problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 21:00:22 -0000 Daniela writes: > On Sunday 01 June 2003 23:51, Lowell Gilbert wrote: > > Daniela writes: > > > I have the following problem: > > > > > > I'm running a FreeBSD SSH server. > > > Some clients can't connect to it. They are on a local network, connected > > > to the internet through another server. This second server used to allow > > > SSH login, and users could then connect to my server from the second > > > server. > > > > > > On the second server, SSH login isn't allowed any more. It won't route > > > any requests to the outside, except for mail. The FTP port is open, > > > however. I heard it is possible to create a tunnel over FTP, so the > > > clients could still get to my server. > > > > > > How could we do this (if it is possible)? Are there other ways? > > > > You need some kind of cooperation from the other server. > > It sounds like you're trying to get around security precautions of the > > other server, but if that's not the case, you ought to work this out > > with the administrator of the other server. > > This is not possible, the admin won't let them out. > This is because of high loads on the network. He doesn't care if only a few > people connect out. > > > You can't create an IP tunnel over an FTP server; at least, not using > > any FTP server software I know well... > > The clients run Linux. Isn't it possible to get around this by routing their > reqests? They would only need to set the default gateway. I may be misunderstanding you here, but I think that you're trying to make an ssh connection into a system that isn't running sshd at all. That won't work, obviously. You *can* run sshd on the ftp port if you want, but you still have to run it.