> 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/assign-external-ip.md).

# Gán địa chỉ IP bên ngoài cho mạng nội bộ

Gán các địa chỉ IP công cộng bên ngoài cho các mạng nội bộ VergeOS với việc tự động tạo quy tắc định tuyến cho kết nối vào.

Địa chỉ IP bên ngoài có thể được gán cho các mạng nội bộ. Khi một IP bên ngoài được gán, các quy tắc định tuyến phù hợp sẽ được tạo tự động.

## Gán IP bên ngoài cho một mạng nội bộ

1. Từ **Bảng điều khiển Mạng bên ngoài**, nhấp vào **Địa chỉ IP** ở menu bên trái.
2. Nhấp vào **Mới**.
3. Trong ***Loại*** trường, chọn **IP ảo**
4. Trong ***Địa chỉ IP*** trường, nhập **địa chỉ IP công khai**.
5. Nhập ***Tên máy chủ***.
6. Tùy chọn, một ***Mô tả*** có thể được nhập để ghi lại thông tin quản trị bổ sung.
7. Trong ***Loại chủ sở hữu*** danh sách thả xuống, chọn **Mạng**.
8. Trong ***Chủ sở hữu*** danh sách thả xuống, chọn **tên của mạng nội bộ**.
9. Nhấp vào **Gửi**.
10. Trong khi vẫn ở **Bảng điều khiển Mạng bên ngoài**, nhấp vào **Áp dụng quy tắc** trên menu bên trái (để áp dụng cho Mạng bên ngoài).
11. Đi tới **Bảng điều khiển Mạng nội bộ**
12. Nhấp vào **Áp dụng quy tắc** (để áp dụng cho Mạng nội bộ).


---

# 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/assign-external-ip.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.
