Create an SNAT Rule

<p>This article describes how to create an SNAT rule.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>&bull;&nbsp;NAT gateway is created.</p> <p>&bull;&nbsp;Cloud host instance is created in the DMZ network domain of the VPC that the NAT gateway belongs to.</p> <p><strong><span style="font-size:18px">Procedures</span></strong></p> <p>1.&nbsp;Log in to the <a href="https://www.pinganyun.com/console/vpc/overview" target="_blank">VPC Console</a>.</p> <p>2. Click <strong>NAT Gateway</strong> in the left navigation pane to enter the <strong>NAT Gateway</strong> page.</p> <p>3.&nbsp;Select the target region to view the existing NAT gateways of that region.</p> <p>4. Click <strong>host name</strong> of the target NAT gateway to enter the <strong>NAT Detail</strong> page.</p> <p>5.&nbsp;Click the <strong>SNAT Rule </strong>tab.</p> <p>6. Click <strong>Create</strong> in the upper-right corner to enter the <strong>Create SNAT Rule</strong> page.</p> <p>7.&nbsp;Create an SNAT rule based on the following information.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201707153701-1ccaf1be928f.png" style="height:438px; width:543px" /></p> <p><strong>Basic Information</strong></p> <table border="1" cellpadding="0" cellspacing="0" style="width:0px"> <tbody> <tr> <td style="background-color:#ededed; width:181px"> <p><strong>Configuration item</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:602px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="width:181px"> <p>Source CIDR</p> </td> <td style="vertical-align:top; width:602px"> <p>Select the source CIDR.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201707153745-103c25739f33.png" style="height:22px; margin:1px; width:50px" />:</p> <p>&bull;&nbsp;CIDR is the subnet IP address of the DMZ network domain in the VPC that the NAT gateway belongs to. Once the SNAT rule is created, all ECSs in the subnet can access the Internet.</p> <p>&bull;&nbsp;Only one SNAT rule can be added to a subnet.</p> </td> </tr> <tr> <td style="width:181px"> <p>Internet IP</p> </td> <td style="vertical-align:top; width:602px"> <p>Select one or multiple public IP addresses.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201707153745-103c25739f33.png" style="height:22px; margin:1px; width:50px" />: Select the public IP that is applied when you create the bandwidth package.</p> </td> </tr> </tbody> </table> <p>8.&nbsp;Click <strong>Create</strong> to return to the <strong>SNAT Rule </strong>tab, where you can view the newly created SNAT rule.</p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products