From owner-freebsd-security Tue Jul 27 23:14:11 1999 Delivered-To: freebsd-security@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 60C1E14FB9 for ; Tue, 27 Jul 1999 23:13:59 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.3/8.9.3) with ESMTP id IAA28855; Wed, 28 Jul 1999 08:11:37 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199907280611.IAA28855@gratis.grondar.za> To: Harold Gutch Cc: "James C. Durham" , freebsd-security@FreeBSD.ORG Subject: Re: ssh2 tunneling through firewall Date: Wed, 28 Jul 1999 08:11:36 +0200 From: Mark Murray 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 ? You really want to forward a local port to the remote: # ssh -L 23:remote.host.org:23 remote.host.org M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message