X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <472F4DDB.DF7F9CFB@dessent.net> Date: Mon, 05 Nov 2007 09:07:39 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Connect browser via ssh tunnel to local server ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Tony Benham wrote: > I have a question re connecting a browser over ssh to a local apache server? > I have an internal apache server used by local network users. This is not > exposed on the internet at all. I have a couple of outside linux users who have > ssh accounts on the apache server machine, so they can open a shell on that > machine. Is it possible for these users to connect via ssh and run a browser > from their machine and connect the apache server via the ssh connection in any > way ? (and ideally only connect to the apache server ?) If so canyone give me > some pointers as to how this could be done ? Sure, just "ssh -D nnnn server" and then configure the browser to use a socks proxy on localhost:nnnn, where nnnn is some available local port number. Now all browser traffic goes through the tunnel, and the internal site can be accessed in whatever way it would if you were sitting at the console of the server. But what's this got to do with Cygwin? Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/