delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/20/13:29:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20011220192439.0354d5b8@imap.local.mscha.com>
X-Sender: ml AT imap DOT local DOT mscha DOT com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 20 Dec 2001 19:28:54 +0100
To: CyberZombie <CyberZombie AT mediaone DOT net>, cygwin AT cygwin DOT com
From: Michael Schaap <cygwin AT mscha DOT org>
Subject: Re: How do I use a socks server with cygwin?
In-Reply-To: <3C2204E6.2010501@mediaone.net>
References: <uellqs2ew DOT fsf AT axis DOT com>
<20011220132712 DOT GB2396 AT dothill DOT com>
<m38zbx3odd DOT fsf AT localhost DOT localdomain>
Mime-Version: 1.0

At 16:33 20-12-2001, CyberZombie wrote:
>That's just it -- I normally use 443 as a way to get through firewalls 
>with ssh.  But at the company I work for (I'm a consultant), EVERY port is 
>locked down or pushed through a socks server.  Hence my need to get a 
>functional socks filter...

 From /usr/src/openssh*/contrib/README:

   http://www.imasy.or.jp/~gotoh/connect.c is a Unix and Windows
   ProxyCommand which allows OpenSSH to make connections through a SOCKS5
   or http proxy which supports the CONNECT method (eg. Squid).

Works fone for me.  Compiles OOTB on Cygwin, I put it in 
/usr/local/bin/proxyconnect, and added the following lines to /etc/ssh_config:

   Host machine_that_needs_socks another_such_machine
           ProxyCommand proxyconnect -R local -S socks.server.domain.tld %h %p

HTH,

  - Michael

-- 
     I always wondered about the meaning of life.   So I looked it
     up in the dictionary under "L" and there it was - the meaning
     of life.  It was not what I expected.                  - Dogbert 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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