delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/05/12:08:07

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 <brian AT dessent DOT net>
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: <loom DOT 20071105T164612-871 AT post DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019