7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プロキシ下からEC2のWindowsにRDPでつなぐ

Last updated at Posted at 2013-09-12

プロキシ環境下から、EC2に立てたWindowsインスタンスにリモートデスクトップ(RDP)で接続する

越えるべきハードル

  • プロキシ(諸悪の根源)

対策

  • sshポート転送
  • 適当なlinuxインスタンスをEC2に立ててそこを経由させる

手順

  1. EC2にWindowsインスタンス(Windowsとする)を立てる
  • 3389番ポート(RDPで使用するポート)は開けておくこと
  1. EC2にLinuxのインスタンス(Linuxとする)を立てる
  • 3389番ポートは開けておくこと
  • OSの種別などは何でもOK
  1. Windowsインスタンスと接続する環境で以下のコマンドを実施

$ ssl -L 3389:Windows:3389 ec2-user@Linux

  • この状態でLinuxのインスタンスにRDPで接続すればOK
    ** 転送されWindowsインスタンスに繋がる

おまけ

7
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?