Adding an SNAT Rule
Scenarios
After the private NAT gateway is created, add an SNAT rule so that some or all servers in a VPC subnet can share a transit IP address to access on-premises data centers or other VPCs.
Notes and Constraints
Only one SNAT rule can be added for each VPC subnet.
Prerequisites
- A private NAT gateway is available.
- A transit IP address is available.
- A Direct Connect connection has been created with the VPC CIDR block set to 0.0.0.0/0. For details, see Create a Virtual Gateway.
Procedure
- Go to the private NAT gateway list page.
- On the Private NAT Gateways page, click the name of the private NAT gateway on which you need to add an SNAT rule.
- On the SNAT Rules tab, click Add SNAT Rule.
- Configure required parameters. For details, see Table 1.
Table 1 Parameter descriptions of an SNAT rule Parameter
Description
Subnet
The subnet type of the SNAT rule. Select Existing or Custom.
Select a subnet where IP address translation is required in the service VPC.
Monitoring
You can create alarm rules using Cloud Eye after your SNAT connection has been created.
Transit IP Address
Select the created transit IP address.
Description
Provides supplementary information about the SNAT rule. Enter up to 255 characters. Angle brackets (<>) are not allowed.
- Click OK.
You can add multiple SNAT rules for a private NAT gateway to suite your service requirements.
Helpful Links
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