From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 13:51:16 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 B0E7A16A4CE for ; Thu, 4 Dec 2003 13:51:16 -0800 (PST) Received: from mail.blarg.net (floyd.blarg.net [206.124.128.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8957143F85 for ; Thu, 4 Dec 2003 13:51:12 -0800 (PST) (envelope-from abowhill@blarg.net) Received: from kosmos.my.net (12-230-212-176.client.attbi.com [12.230.212.176]) by mail.blarg.net (Postfix) with ESMTP id A4801382EC for ; Thu, 4 Dec 2003 13:46:14 -0800 (PST) Received: from kosmos.my.net (localhost [127.0.0.1]) by kosmos.my.net (8.12.10/8.12.10) with ESMTP id hB4Lk7ga000762 for ; Thu, 4 Dec 2003 13:46:13 -0800 (PST) (envelope-from kosmos@kosmos.my.net) Received: (from kosmos@localhost) by kosmos.my.net (8.12.10/8.12.10/Submit) id hB4Lk7Aq000761 for freebsd-questions@freebsd.org; Thu, 4 Dec 2003 13:46:07 -0800 (PST) (envelope-from kosmos) Date: Thu, 4 Dec 2003 13:46:07 -0800 From: Allan Bowhill To: "'freebsd-questions@freebsd.org'" Message-ID: <20031204214607.GA470@kosmos.my.net> Mail-Followup-To: "'freebsd-questions@freebsd.org'" References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-URL: http://www.blarg.net/~abowhill/ Subject: Re: Way OT: SSH+VNC as quickndirty VPN 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: Thu, 04 Dec 2003 21:51:16 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 0, "Goodleaf, John M" wrote: : :Here's the scenario: :I have a Windows machine at work. I have a VNC server on it. It is behind a :firewall over which I have no control, so I cannot make a direct connection :to this machine from outside. What I'd like to do is to initiate a SSH :connection (with compression) to my BSD machine at home (which I can do) a= nd :forward the VNC server connection through that SSH tunnel. I'd like to then :lock my workstation and office, go home, and use vncviewer to have access = to :my workstation at work. That way I can do work at odd hours and while :watching Buffy the Vampire Slayer. : :Is this possible? I have tried a few combinations of port forwarding, but :for whatever reason, find it unintuitive. Can't quite get it to work. Any :suggestions much appreciated. I agree, it is counter-intuitive, but I know it mostly works on a Unix-to- Unix connection, but I have forgotten how to set it up. There may be a problem with doing it with windows as the server, though. vnc can only grant access to a single session in windows, and that session's display is based on reading the video frame buffer. This generally would mean that you can't simultaneously lock your machine a= nd do work on it at the same time from home. In other words, when you login from home, everything you do will be displayed on the windows machine in your office while you are doing it. --=20 Allan Bowhill abowhill@blarg.net --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/z6seBC/kSIeFE54RAtZLAKDXr+f3WxdXrBJJsyeF9Csa22y0lgCaAu97 oQ+WT+2W/7/GAW0nkrhipkM= =7HkZ -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--