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

# VPN

VPN 通过公共网络为远程用户访问和站点到站点连接提供安全通信隧道（例如需要协作和共享资源的分支机构）。VergeOS 软件提供 WireGuard 和 IPsec 功能以实现 VPN 连接。

## VergeOS 站点到站点 VPN

可以在 VergeOS 站点之间，或从 VergeOS 站点到第三方 WireGuard 对等端建立安全隧道连接；请参考以下站点到站点说明： [**WireGuard**](/run-the-platform/zh/vpn/wireguard-config.md)。站点到站点 WireGuard 配置示例可在以下位置查看 [**WireGuard 配置示例**](/run-the-platform/zh/vpn/wireguard-examples.md).

## 用于安全远程用户访问 VergeOS 站点的 VPN

要为远程用户配置安全隧道以访问 VergeOS 系统，请参阅 WireGuard 配置页面： [**WireGuard**](/run-the-platform/zh/vpn/wireguard-config.md) 以及 [**WireGuard 配置示例**](/run-the-platform/zh/vpn/wireguard-examples.md) 以获取远程访问配置示例。

## 与第三方的 IPsec 站点到站点（用于特定 IPsec 要求）

在 VergeOS 需要与另一站点的 IPsec 设备（例如 Cisco、pfSense 等）交互的场景中，系统提供 IPsec 功能。有关创建到第三方 IPsec 对等端的 VPN 隧道的信息可见于： [**IPsec 配置**](/run-the-platform/zh/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/zh/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.
