> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/vi/mang/nat-1to1.md).

# Cấu hình chuyển đổi NAT 1-đối-1

Tạo quy tắc chuyển đổi NAT 1-đối-1 để ánh xạ một địa chỉ IP công cộng bên ngoài tới một địa chỉ IP riêng bên trong cho việc chuyển tiếp lưu lượng hai chiều đầy đủ.

Trước khi tạo quy tắc chuyển đổi để NAT một địa chỉ IP bên ngoài sang một địa chỉ IP bên trong:

* [**Đặt một IP tĩnh (riêng) cho máy ảo đích**](/run-the-platform/vi/mang/dhcp-static-lease.md)
* [**Gán một IP bên ngoài cho mạng nội bộ**](/run-the-platform/vi/mang/assign-external-ip.md)

## Tạo quy tắc chuyển đổi để NAT IP bên ngoài sang IP bên trong

1. Từ **Bảng điều khiển mạng nội bộ**, nhấp **Quy tắc** ở menu bên trái.
2. Nhấp vào **Mới**.
3. Nhập một **Tên** điều này sẽ hữu ích cho việc quản trị sau này.
4. Tùy chọn, có thể chỉ định một **Mô tả** có thể được nhập để ghi lại thêm thông tin quản trị.
5. Trong **Hành động** trong danh sách thả xuống, chọn ***Dịch***.
6. Trong **Giao thức** trong danh sách thả xuống, chọn ***BẤT KỲ***.
7. Trong **Hướng** trong danh sách thả xuống, chọn ***Incoming***.
8. **Xác định nguồn:** Trong **Loại** trong danh sách thả xuống, chọn ***Bất kỳ/Không***.
9. **Xác định đích:**
   * Trong **Loại** trong danh sách thả xuống, chọn ***Các địa chỉ IP của tôi***.
   * Trong **Địa chỉ IP** menu thả xuống, chọn địa chỉ IP bên ngoài.
10. **Xác định đích tiêu:**
    * Trong **Loại** trong danh sách thả xuống, chọn ***Các địa chỉ IP của tôi***.
    * Trong **Địa chỉ IP** menu thả xuống, chọn địa chỉ IP bên trong (đã được gán địa chỉ IP tĩnh).
11. Nhấp vào **Gửi** để lưu quy tắc.
12. Nhấp vào **Áp dụng quy tắc** ở menu bên trái để áp dụng quy tắc mới.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verge.io/run-the-platform/vi/mang/nat-1to1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
