Virtual Private Gateway 経由で FCI と AWS を接続する
このガイドでは、Unify Portal 上で AWS と OPS の各プラットフォーム間の VPNaaS を接続する方法を説明します。
- I. AWS で VPN Site-to-Site を設定する
- II. FCI Cloud で VPN Site-to-Site を設定する
この例では、以下のトポロジーに示すパラメータで VPN Site-to-Site 接続を作成します。
AWS で VPN Site-to-Site を設定する
Step 1. Customer Gateway を作成します。 Customer Gateway は、on-premises ネットワークの gateway 機器を表す AWS 上のリソースです。 Customer Gateway を作成するには:
a. https://console.aws.amazon.com/vpc/ にアクセスします。 b. Customer gateways > Create customer gateway を選択します。 必要な項目を入力します。IP address には FCI の VPN Gateway の Local IP public を使用します。
c. Create customer gateway を選択します。 作成された Customer gateway の詳細:
Step 2. Virtual Private Gateway を作成します。 Virtual Private Gateway を作成するには:
a. ナビゲーションペインで Virtual private gateways > Create virtual private gateway を選択します。
b. Create virtual private gateway を選択します。 作成後の結果:
c. Virtual private gateway を VPC に attach します。
Step 3. routing を設定します。 Virtual Private Gateway を経由して VPC(AWS)から Customer Gateway(FCI)へトラフィックを流すよう routing を設定します。 route table で route propagation 機能を有効にすると、VPN connection からの route が自動的に route table に追加されます。
a. ナビゲーションペインで Route tables を選択します。 b. subnet に関連付けられた Route table を選択します。 c. Route propagation タブで Edit route propagation を選択します。 d. 前の手順で作成した Virtual private gateway を選択 > Enable Propagation を選択し、Save を選択します。
Step 4. Security groups を更新します。 SSH、RDP、ICMP のアクセスを許可するよう Security groups を更新します。 Security group にルールを追加するには:
a. ナビゲーションペインで Security groups を選択します。 b. アクセスを許可したい VPC 内の instance 向けの security group を選択します。 c. Inbound rules タブで Edit inbound rules を選択します。 d. SSH、RDP、ICMP の inbound を許可するルールを追加し、Save rules を選択します。
Step 5. VPN connection を作成します。 先に作成した Customer Gateway と Virtual Private Gateway を組み合わせて VPN connection を作成します。 VPN connection を作成するには:
a. ナビゲーションペインで Site-to-Site VPN connections を選択します。 b. Create VPN connection を選択します。 c. Target gateway type を Virtual private gateway に設定します。 d. 先に作成した VGW と CGW を選択します。 e. Routing option で Static を選択します。static IP prefixes には FCI の subnet 範囲を入力します。 g. Local IPv4 network に FCI の subnet 範囲を入力します。 h. Remote IPv4 network に AWS の subnet 範囲を入力し、tunnel 1 のオプションを選択します。
j. edit tunnel options を選択して tunnel のパラメータを変更します。
k. tunnel1 と tunnel2 のパラメータを編集します。 注意: この例では値を入力する必要はありません。AWS が自動的に既定値 28800 と 3600 を使用します。(これらの値は後の手順で接続を最適化するため FCI 側に設定します。)
DPD timeout action は restart モードに設定します(このモードでは、DPD がタイムアウトすると AWS が自動的に接続を再開します)。
l. Create VPN connection を選択します。
VPN Connection がステータス 'Available' で正常に作成されます。
次に、Route table が正しく設定されているか確認します。
Step 6. 設定ファイルをダウンロードします。 VPN connection の作成後、FCI の VPC で使用する 設定ファイルをダウンロードできます。 設定ファイルをダウンロードするには:
a. VPN connection のページに移動します。 b. 作成した接続を選択 > Download configuration を選択します。 c. Vendor に pfSense、IKE version に IKEv1 を選択 > Download を選択します。
この設定ファイルを使って FCI 側の VPN Site-to-Site を作成します。
FCI Cloud で VPN Site-to-Site を設定する
上記の AWS の設定と一致するように、FCI Cloud で VPN Site-to-Site を作成します。
- Customer Gateway — AWS の tunnel IP を Remote IP public に、 AWS 側のネットワーク範囲を Remote private network に設定します。
- VPN Connection — provider に AWS を選択すると IKE と IPSec の設定が 自動入力されます。その後、AWS の設定ファイルから pre-shared key と Delay / Max failures の値を入力します。
詳細は Customer Gateway の作成 および VPN Connection の作成 を参照してください。
接続に成功すると:
-
FCI Cloud では、VPN connection の Operating status が Online と表示されます。
-
AWS では、VPN connections > 対象の VPN connection を選択 > Tunnel details に移動します。tunnel の status が UP と表示されます。
-
結果を確認します。
VPN Site-to-Site で設定したネットワーク範囲を使って各 VPC で VM を起動し、両側から VM に ping します。
FCI から AWS への ping 結果
AWS から FCI Cloud への ping 結果


















