From owner-freebsd-security Tue Jul 27 2:59:59 1999 Delivered-To: freebsd-security@freebsd.org Received: from foobar.franken.de (foobar.franken.de [194.94.249.81]) by hub.freebsd.org (Postfix) with ESMTP id 6C95014E2E for ; Tue, 27 Jul 1999 02:58:51 -0700 (PDT) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id LAA16324; Tue, 27 Jul 1999 11:58:42 +0200 (CEST) Message-ID: <19990727115841.C14540@foobar.franken.de> Date: Tue, 27 Jul 1999 11:58:41 +0200 From: Harold Gutch To: "James C. Durham" , freebsd-security@FreeBSD.ORG Subject: Re: ssh2 tunneling through firewall References: <379BE9E6.48971781@w2xo.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <379BE9E6.48971781@w2xo.pgh.pa.us>; from James C. Durham on Mon, Jul 26, 1999 at 12:53:58AM -0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jul 26, 1999 at 12:53:58AM -0400, James C. Durham wrote: > I'd like to be able to use ssh2 to tunnel IP connections > on the remote server to ports on one of the local machines. > > I elected to try forwarding telnet requests (port 23) > for simplicity. > > sshd2 is running on the local machine and the remote machine. > I'm using ssh2 -R 23:localhost:23 my.server.xx.xx ^^ I don't use ssh2, but assuming that the syntax is the same as in ssh1, you're trying to bind to port 23, which won't work unless you're root. Does binding to a port higher than 1024 work ? bye, Harold -- Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message