What Are the Relationships and Differences Between the CIDR Blocks in a NAT Gateway and in an SNAT Rule?
When creating a NAT gateway, you must specify the VPC and subnet CIDR block for the NAT gateway. This CIDR block can only be used by the system.
When you are creating an SNAT rule and set Scenario to VPC, select a subnet in the target VPC. This way, servers in the subnet can access the Internet through the SNAT rule.
When you are creating an SNAT rule and set Scenario to Direct Connect/Cloud Connect, enter a CIDR block of an on-premises data center or another VPC. With this, on-premises servers or cloud servers in the CIDR block can access the Internet through the SNAT rule.
SNAT Rules FAQs
- Why Do I Need SNAT?
- What Are SNAT Connections?
- What Is the Bandwidth of a Public NAT Gateway Used by a Server to Access the Internet? How Do I Configure the Bandwidth?
- How Do I Resolve Packet Loss or Connection Failure Issues When Using a NAT Gateway?
- What Should I Do If My ECS Fails to Access a Server on the Public Network Through a Public NAT Gateway?
- What Are the Relationships and Differences Between the CIDR Blocks in a NAT Gateway and in an SNAT Rule?
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.
Chatbotmore