差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ゲートウェイサーバー経由でリモートデスクトップ接続 [2021/02/04 04:16] – 133.11.144.10 | ゲートウェイサーバー経由でリモートデスクトップ接続 [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== ゲートウェイサーバー(suikougw)経由で研究室のWindowsPCにリモートデスクトップ接続する方法 ====== | ||
- | ===== 背景(Background) ===== | ||
- | * Windows PCを直接RDP可能にしたところ、クラッカーに侵入され、解析ファイルの一部がランサムウェアの被害に合うというインシデントが発生したため、直接RDPを行う経路を禁止した。 | ||
- | * Google Remote DesktopやTeam Viewerはアカウントの管理が各自に委ねられるため、誰が外部から接続しているかを把握しきれない。 | ||
- | * そのため安全なリモートデスクトップ接続の経路として、ゲートウェイサーバー経由でのリモートデスクトップ接続をしましょう!\\ \\ | ||
- | |||
- | |||
- | * When Windows PCs were enabled for direct RDP, incidents occurred where crackers infiltrated and some of the analyzed files were damaged by ransomware, so the direct RDP route was banned. | ||
- | * With Google Remote Desktop and Team Viewer, the management of accounts is left up to each user, so it is impossible to keep track of who is connected from the outside. | ||
- | * So for a secure remote desktop connection path, let's go through a gateway server! | ||
- | |||
- | ===== 方法(Method) ===== | ||
- | ==== IPアドレスの固定(Fix IP address) ==== | ||
- | こちらを参考 | ||
- | [[https:// | ||
- | - 吉武先生から他のホストと被らないIPアドレスを発行してもらう | ||
- | - 画面左下のWindowsロゴをクリックし、[Windowsシステムツール]-[コントロールパネル]を選択。 | ||
- | - [ネットワークと共有センター] をクリック。 | ||
- | - [アダプターの設定の変更] をクリック。 | ||
- | - [イーサネット]を右クリックし、[プロパティ]をクリック | ||
- | - [インターネット プロトコル バージョン 4(TCP/ | ||
- | - 「次のIPアドレスを使う」にチェック | ||
- | - 「IPアドレス」に割り当てられたIPアドレスを入力[[http:// | ||
- | - 「サブネットマスク」に「255.255.255.0」を入力(元々入っているかも) | ||
- | - 「デフォルトゲートウェイ" | ||
- | - 「次のDNSサーバーのアドレスを使う」 にチェックを入れる。 | ||
- | - 「優先DNSサーバー」に251の人は「192.168.253.1」、311と405の人は「192.168.251.1」を入力。(代替DNSサーバーは入力しない。) | ||
- | - 入力後、[OK] をクリックし、画面を閉じる | ||
- | - 以上で終了 \\ \\ | ||
- | |||
- | See here. | ||
- | [[https:// | ||
- | - Ask Dr. Yoshitake to issue you an IP address that does not overlap with other hosts. | ||
- | - Click on the Windows logo at the bottom left of the screen, and select [Windows System Tools] - [Control Panel]. | ||
- | - Click [Network and Sharing Center]. | ||
- | - Click " | ||
- | - Right-click [Ethernet], and then click [Properties]. | ||
- | - Select " | ||
- | - Check "Use the following IP address" | ||
- | - Enter the assigned IP address in "IP Address" | ||
- | - Enter " | ||
- | - For " | ||
- | - Check "Use the address of the following DNS server" | ||
- | - Enter " | ||
- | - After entering, click [OK] and close the screen. | ||
- | - That's all for now. | ||
- | ==== suikougwを踏み台にWindows環境へリモートデスクトップ接続 ==== | ||
- | ==== (Remote desktop connection to Windows environment using suikougw as a stepping stone server) ==== | ||
- | こちらを参考 [[https:// | ||
- | - TeraTermのダウンロード、インストール[[https:// | ||
- | - TeraTermを起動 | ||
- | - 「ホスト」にsuikougwのIP「133.11.222.89」、「TCPポート」にssh用に開放しているポート番号「15372」を入力して、「OK」をクリック | ||
- | - 「ユーザー名」に「自分がいつもgwサーバログイン時に使っているユーザー名」、「パスフレーズ」に「gwサーバのパスワード」(年1で変更されるやつです)を入力し、「OK」をクリック | ||
- | - 「設定」→「ssh転送」→「追加」をクリック | ||
- | - 「ローカルのポート」に他のアプリケーションで使っていないポート番号を入力。いつも僕は「13389」にしてます。 | ||
- | - 「リモート側ホスト」に「吉武先生に割り当てられ、先ほど固定したIP」を入力。 | ||
- | - 「ポート」にRDP用のポートの「3389」を入力。 | ||
- | - 「OK」をクリック | ||
- | - 「リモートデスクトップ接続」を起動し、「コンピューター」に「localhost: | ||
- | - 接続をクリック | ||
- | - 「ユーザー名」、「パスワード」にWindowsPCのアカウント名とパスワードを入力し接続する。 | ||
- | - これで研究室のWindowsPCに接続できるはずです。 \\ \\ | ||
- | |||
- | See Here(Sorry for Japanese web site) [[https:// | ||
- | - Download and install TeraTerm [[https:// | ||
- | - Start TeraTerm. | ||
- | - Enter suikougw' | ||
- | - Enter the user name that you usually use to log in to the gw server in "User Name" and the gw server password (which is changed once a year) in " | ||
- | - Click " | ||
- | - In the "Local Port" field, enter a port number that is not being used by any other application. I always use " | ||
- | - In " | ||
- | - Enter " | ||
- | - Click " | ||
- | - Start " | ||
- | - Click Connect. | ||
- | - Enter your Windows PC account name and password in the "User Name" and " | ||
- | - You should now be able to connect to your Windows PC in the lab. | ||
- | |||
- | |||
- | |||