web-dev-qa-db-ja.com

ブロックされた443(SSL)を使用したhttpプロキシ経由のSSHトンネル

Httpsアクセスが拒否されたときにhttp-proxy経由でSSHトンネルを作成することは可能ですか?

私は.ssh\configにそのような構成を持っていました

Host home
User root
Hostname *my-home-pc-with-ssh-access-allowed*
Port 8090
ProxyCommand corkscrew db-isa-01 8080 %h %p ~/.ssh/.corkscrew-db-isa-auth
IdentityFile ~/.ssh/id_rsa

ここで、db-isa-01は私の企業プロキシサーバーです。今日、管理者はすべてのhttpsアクセスをブロックし、ホワイトリストにある少数のサーバーに対してのみ許可しました。

このコマンドを使用してトンネルを作成しました。

ssh -D 7070 -o 'GatewayPorts yes' -A -q -g -t  root@home

そして今、それは機能しません。私が理解できるように、それは私たちのプロキシがすべてのhttps接続を拒否するためです

Proxy could not open connnection to ***:  Proxy Error ( The specified
Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to 
allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )

P.S.私はWindows7を使用しており、cygwinでcorscskrewを使用しているため、Linuxソリューションは私には適していません。

3
Eugene Zhulenev

このガイド に従い、 httptunnel を使用してHTTPリクエストでSSH接続をトンネリングできます。 Win32バイナリが利用可能です ここ

2
speakr