> For the complete documentation index, see [llms.txt](https://docs.proxyshard.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.proxyshard.com/cn/shi-yong-zhi-nan/windows/v2rayn.md).

# v2rayN

{% hint style="success" %}
该解决方案支持 UDP 隧道！
{% endhint %}

## v2rayN 设置\*\*.\*\*

按照[链接](https://github.com/2dust/v2rayN/releases/latest)下载<mark style="color:purple;">v2rayN</mark>并将存档解压到桌面上。

{% embed url="<https://github.com/2dust/v2rayN/releases/latest>" %}

<figure><img src="/files/LMXNUgQqcQ7wCjxDFN5s" alt=""><figcaption></figcaption></figure>

## **创建个人资料**

创建新配置并指定 <mark style="color:purple;">SOCKS / HTTP</mark> 作为连接协议。

<figure><img src="/files/VzKL20YD9uqiDicrPXg2" alt=""><figcaption></figcaption></figure>

## 连接配置文件设置

将从订单复制的代理粘贴到相应字段中，确保指定配置核心（Xray/SingBox），然后保存设置。

<figure><img src="/files/TWYrFZj9mXI0BRyOaCcq" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**您可以在**[**设置指南**](/cn/shi-yong-zhi-nan/getting-started.md)**部分找到代理设置示例**
{% endhint %}

## 启动客户端

通过启用 <mark style="color:purple;">Tun</mark> 模式来启动客户端。

<figure><img src="/files/Uhj1gyHXVk3TH3Uzaaxy" alt=""><figcaption></figcaption></figure>

**完毕！您现在可以通过隧道传输所有流量来充分使用代理。**


---

# 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.proxyshard.com/cn/shi-yong-zhi-nan/windows/v2rayn.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.
