2017年3月15日水曜日

proxy - ssh tunnel(Windows)

proxy server:8888 別サーバーで起動

PuTTY
Connection -> SSH -> Tunnels
source port   8080(任意)
destination     localhost:8888
add(クリックを忘れずに)

Tera Term
Setup -> SSH Forwarding
Add
Forward local port  8080(任意)
listen                      localhost
to remote machine  localhost
port                        8888
OK
Setup -> Save setup      proxy.ini(任意)
Setup -> Restore setup  proxy.ini
File -> New Connection

rlogin
プロトコル -> SSH
チェック ポートフォーワードだけ行う(SSH2のみ)
ポートフォーワード(P)
type                local
Listened Host  localhost
Port                8080(任意)
Connect Host  localhost
Port                8888

0 件のコメント: