SSH Proxying Through SSL CONNECT

Neil steinne at gmail.com
Sat Jan 10 22:26:51 MSK 2009


This may a little off your topic line,  I have been leveraging mindterm
(http://www.appgate.com/index/products/mindterm/run_mindterm.html)  to
meet the same need.

-neil

On Sat, Jan 10, 2009 at 2:06 PM, Max Hawkins <maxhawkins at gmail.com> wrote:
> I'm attempting to proxy an SSH connection through port 443 so that I can
> break a restrictive firewall while nginx is serving documents via SSL at the
> same time.
>
> I found a python script called http-proxy-tunnel
> (http://www.stuart.id.au/russell/files/http-proxy-tunnel) that will tunnel
> the SSH using the SSL CONNECT method. The script's documentation lists an
> example server configuration for Apache, but I'm not sure how to achieve the
> same thing in nginx:
>
> AllowCONNECT    22
> ProxyRequests   on
> <ProxyMatch ^(?!localhost:22$)>
> Deny from               all
> </ProxyMatch>
>
> Is there an nginx equivalent to this configuration?
>
> Thanks,
> Max Hawkins
>
>





More information about the nginx mailing list