From owner-freebsd-hackers Wed Dec 11 08:07:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA18729 for hackers-outgoing; Wed, 11 Dec 1996 08:07:51 -0800 (PST) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id IAA18719 for ; Wed, 11 Dec 1996 08:07:45 -0800 (PST) Received: from LOCAL (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 10579 on Wed, 11 Dec 1996 16:51:14 +0100; id QAA10579 efrom: marc@nietzsche.bowtie.nl; eto: UNKNOWN Received: from localhost (localhost [127.0.0.1]) by nietzsche.bowtie.nl (8.7.5/8.7.3) with ESMTP id QAA19134; Wed, 11 Dec 1996 16:51:32 +0100 (MET) Message-Id: <199612111551.QAA19134@nietzsche.bowtie.nl> X-Mailer: exmh version 1.6.7 5/3/96 To: roberto@eurocontrol.fr (Ollivier Robert) cc: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers' list) Subject: Re: Fwd: CVSup with SSH In-reply-to: roberto's message of Wed, 11 Dec 1996 16:02:58 +0100. Date: Wed, 11 Dec 1996 16:51:31 +0100 From: Marc van Kempen Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > [I sent this to -hubs which is probably not the right list] > > Hi, > > I'm behind a firewall and I can't use SOCKS. I'd like to use the port > forwarding features of SSH (the 22 port is open) with CVSup. Has anyone > tried the same setup ? > > I've tried > > ssh -L 5999:freefall.freebsd.org:5999 -L 5998:freefall.freebsd.org:5998 > freefall.freebsd.org > > and > > cvsup -L 1 -g -p 5999 -P - cvs-supfile.cvsup > > but it still tries to connect to freefall directly: > > cvsup 13841 roberto 4u inet 0xf2471900 0t0 TCP localhost.eurocontrol.fr:2480->localhost.eurocontrol.fr:5999 > cvsup 13841 roberto 5u inet 0xf242ee00 0t0 TCP caerdonn.eurocontrol.fr:2481->freefall.FreeBSD.ORG:4798 > Did you try the plug-gw from the fwtk from TIS? You can use this to forward a port/ip-no from your internal network to a port/ip-no on the Internet. Then you should point cvsup at your firewall as being the cvsup server. If you want details, mail me. Regards, Marc. ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ----------------------------------------------------