> 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/vpn/vpn-overview.md).

# VPN

VPN cung cấp một đường hầm truyền thông an toàn qua mạng công cộng cho truy cập của người dùng từ xa và các kết nối site-to-site (ví dụ: các văn phòng chi nhánh cần cộng tác và chia sẻ tài nguyên). Phần mềm VergeOS cung cấp chức năng WireGuard và IPsec cho kết nối VPN.

## VPN Site-to-Site của VergeOS

Có thể thiết lập một kết nối đường hầm an toàn giữa các site VergeOS hoặc từ một site VergeOS đến một peer WireGuard của bên thứ ba; tham khảo hướng dẫn site-to-site tại: [**WireGuard**](/run-the-platform/vi/vpn/wireguard-config.md). Các cấu hình WireGuard Site-to-Site mẫu có thể xem tại [**Các ví dụ cấu hình WireGuard**](/run-the-platform/vi/vpn/wireguard-examples.md).

## VPN cho truy cập an toàn của người dùng từ xa vào một site VergeOS

Để cấu hình một đường hầm an toàn cho người dùng từ xa truy cập hệ thống VergeOS, hãy xem trang Cấu hình WireGuard: [**WireGuard**](/run-the-platform/vi/vpn/wireguard-config.md) và [**Các ví dụ cấu hình WireGuard**](/run-the-platform/vi/vpn/wireguard-examples.md) để xem các cấu hình truy cập từ xa mẫu.

## IPsec Site-to-Site với bên thứ ba (cho yêu cầu IPsec cụ thể)

Chức năng IPsec được cung cấp cho các tình huống mà VergeOS cần giao tiếp với một thiết bị IPsec ở site khác (ví dụ: Cisco, pfSense, v.v.) Thông tin về cách tạo một đường hầm VPN đến một peer IPsec của bên thứ ba có thể được tìm thấy tại: [**Cấu hình IPsec**](/run-the-platform/vi/vpn/ipsec.md)


---

# 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/vpn/vpn-overview.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.
