# Configure SNAT Rules

Configure SNAT (Source Network Address Translation) rules on a public NAT gateway to let instances without public IPs in a global VPC access the Internet.

## Procedures

1. Go to **NAT Rules** > **Create SNAT Entry** on details page

   <div align="left"><figure><img src="/files/bbyHpzAJ1nhRxYR4p151" alt="" width="563"><figcaption></figcaption></figure></div>
2. Select private IPs.

   By default, `All IPs (0.0.0.0/0)` is selected, meaning all instances in the subnet can use this SNAT entry.
3. Set public egress IPs

   Select one or more elastic IPv4 addresses to serve as the outbound IP(s) for SNAT.

   * This determines the source IP address shown to the public internet.
   * You can select multiple IPs to support higher availability or bandwidth.
   * If no suitable elastic IP is available, click **New Elastic IPv4** to create one.
4. Click **Confirm** to save and apply the SNAT entry.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

* <mark style="color:blue;">A public NAT gateway must be associated with at least one elastic IP before SNAT rules can take effect.</mark>
* <mark style="color:blue;">Each SNAT entry must define a private IP range and at least one public elastic IP.</mark>
  {% endhint %}

## Results

In the SNAT rule list page, you can edit and delete existing SNAT entries.

If you need further access control of the traffic, see [Configure DNAT Rules](/welcome/elastic-compute/get-started/manage-networking/create-a-public-nat-gateway/configure-dnat-rules.md) for more details.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

* <mark style="color:blue;">Editing NAT rules may cause service disruption. Proceed with caution.</mark>
* <mark style="color:blue;">Deleting resources may affect ongoing services. The related resources will be unbound. Proceed with caution.</mark>
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/elastic-compute/get-started/manage-networking/create-a-public-nat-gateway/configure-snat-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
