From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 11:01:42 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 B842E16A4CF for ; Thu, 4 Dec 2003 11:01:42 -0800 (PST) Received: from jade.fhcrc.org (jade.fhcrc.org [140.107.42.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA6A443FBD for ; Thu, 4 Dec 2003 11:01:41 -0800 (PST) (envelope-from jgoodlea@fhcrc.org) Received: from e500a.fhcrc.org (e500a.fhcrc.org [140.107.42.21]) hB4J1f6n031947 for ; Thu, 4 Dec 2003 11:01:41 -0800 Received: from shemp.fhcrc.org(140.107.42.41) by e500a.fhcrc.org via csmap id 22106; Thu, 04 Dec 2003 11:00:57 -0800 (PST) Received: by shemp.fhcrc.org with Internet Mail Service (5.5.2657.72) id ; Thu, 4 Dec 2003 11:01:38 -0800 Message-ID: From: "Goodleaf, John M" To: "'freebsd-questions@freebsd.org'" Date: Thu, 4 Dec 2003 11:01:35 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: 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 19:01:42 -0000 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) and 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. -John