Creating a VPN Gateway
Scenario
To connect your on-premises data center or private network to your ECSs in a VPC, you need to create a VPN gateway before creating a VPN connection.
Context
Number of Customer Gateway IP Addresses |
Recommended Networking |
Description |
---|---|---|
1 |
|
It is recommended that the VPN gateway uses the active-active mode. In this case, one VPN connection group is used. |
2 |
|
It is recommended that the VPN gateway uses the active/standby mode. In this case, two VPN connection groups are used. |
- If your on-premises data center has only one customer gateway configured with only one IP address, it is recommended that the VPN gateway uses the active-active mode. In this mode, you need to create a VPN connection between each of the active EIP and active EIP 2 of the VPN gateway and the IP address of the customer gateway. In this scenario, only one VPN connection group is used.
- If your on-premises data center has two customer gateways or one customer gateway configured with two IP addresses, it is recommended that the VPN gateway uses the active/standby mode. In this mode, you need to create a VPN connection with each of the customer gateway IP addresses using the active and standby EIPs of the VPN gateway. In this scenario, two VPN connection groups are used.
Notes and Constraints
- A VPN gateway of a non-GM specification cannot be changed to a VPN gateway of the GM specification.
Prerequisites
- A VPC has been created. For details about how to create a VPC, see the Virtual Private Cloud User Guide.
- Security group rules have been configured for the VPC, and ECSs can communicate with other devices on the cloud. For details about how to configure security group rules, see the Virtual Private Cloud User Guide.
Procedure
- Log in to the management console.
- Click in the upper left corner and select the desired region and project.
- Click in the upper left corner of the page, and choose .
- In the navigation pane on the left, choose .
- Click Create VPN Gateway.
- Set parameters as prompted and click Next.
Table 2 lists the VPN gateway parameters.
- Confirm the VPN gateway information and click Submit.
- (Optional) For a VPN gateway of the GM specification, upload the VPN gateway certificate after the VPN gateway is created. Otherwise, the VPN gateway cannot set up a VPN connection.
For details, see Uploading Certificates for a VPN Gateway.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot