Forum: NGINX SSH Proxying Through SSL CONNECT

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Max H. (Guest)
on 2009-01-10 21:19
(Received via mailing list)
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
Neil (Guest)
on 2009-01-10 21:35
(Received via mailing list)
This may a little off your topic line,  I have been leveraging mindterm
(http://www.appgate.com/index/products/mindterm/run...)  to
meet the same need.

-neil
This topic is locked and can not be replied to.