> 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 NAT chuyển đổi 1-1

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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
