Preparation
- A Windows device with v2rayN installed, either the portable or installer version
- Node configuration details, including the address, port, user ID, transport protocol, encryption method, and other parameters
Advanced: Routing Rules and Split-Tunneling Settings
Even in these two situations, first check whether you have a share link. Links beginning with vmess://, vless://, or trojan:// can be added immediately with “Import from Clipboard (从剪贴板导入).” This is much faster than filling in the form field by field and prevents you from missing values such as SNI and path that may be hidden in the link parameters. Manual form entry is best reserved for cases where you have only the parameters and no link, or when you need to change a specific setting after importing. The screenshots in this article show the Windows interface of v2rayN 6.33. As of September 15, 2026, the latest stable version on the GitHub Releases page is 7.24.9, released on August 29. Several menu items have been renamed, but the field names in the forms are largely unchanged. The differences are covered in the comparison table and protocol-specific sections below. The Add menu in 7.24.9 also includes protocols such as WireGuard, HTTP, Anytls, and NaïveProxy. This article covers only the seven protocols shown in the screenshots. The macOS and Linux versions use the same set of menus, so you can locate the options by name.
Import from the Clipboard First If You Have a Share Link
Copy the complete share link and return to the main v2rayN window. Click an empty area in the node list and press Ctrl+V. Alternatively, open the Server (服务器) menu at the top and click “Import Batch URLs from Clipboard (从剪贴板导入批量URL (Ctrl+V)).” The result is the same. According to the official Wiki, the keyboard shortcut works only when focus is outside an input field. v2rayN can recognize both plain-text links and Base64-encoded content in the clipboard. You can also copy several links, one per line, and import them all at once. There are two situations in which the import result may differ from what you expect. If the copied content begins with https, v2rayN treats it as a subscription URL and creates a new subscription group. You must update it once from the Subscription Groups (订阅分组) menu before any nodes appear. If you copy only part of a link—for example, stopping before the question mark—the node may still be imported, but parameters such as SNI and path will be missing, causing latency tests to fail. If the other party sent a QR code, open the QR code image on your screen and click the last menu item, “Scan QR Code on Screen (扫描屏幕上的二维码 (Ctrl+S)).” Version 7.24.9 also adds “Scan QR Code in Image (扫描图片中的二维码),” which lets you select the image file directly. Do not connect immediately after importing. Right-click the node and select “Edit Server (编辑服务器)” to open the form and verify the settings. All the fields explained below can be checked there.
Manually Adding Nodes for Each Protocol
Manual Entry Points and Shared Fields
If you do not have a link, you will need to enter the settings manually. Open the Server (服务器) menu at the top and click “Add [Protocol Name] Server (添加[协议名]服务器).” The window’s title bar shows the protocol name. The options renamed in newer versions are listed below.
| In the 6.33 screenshots | 7.24.9 |
|---|---|
| Server (服务器) | Profiles (配置项) |
| Add [VMess] Server (添加[VMess]服务器) | Add [VMess] (添加 [VMess]) |
| Add [Socks] Server (添加[Socks]服务器) | Add [SOCKS] (添加 [SOCKS]) |
| Add [Tuic] Server (添加[Tuic]服务器) | Add [TUIC] (添加 [TUIC]) |
| Import Batch URLs from Clipboard (从剪贴板导入批量URL (Ctrl+V)) | Import Share Links from Clipboard (从剪贴板导入分享链接) |
| Edit Server (编辑服务器 (Ctrl+D)) | Edit (编辑) |
| Test Real Connection Latency for Selected Servers (测试服务器真连接延迟(多选)) | Test Real Connection Latency for Selected Servers (测试真连接延迟 (多选)) |
Alias, Address, Port, and Core Type
The forms for all seven protocols begin with the same three fields: “Alias (别名(remarks)),” “Address (地址(address)),” and “Port (端口(port)).” The alias is simply the name displayed in the list. I usually include the region and protocol so that nodes remain easy to identify when the list gets longer. Enter the server’s domain name or IP address in Address and a numeric value in Port. Be sure to replace the default value of 0. Share links for VLESS, Trojan, Hysteria2, and TUIC use the same structure: 协议://凭据@地址:端口?参数#别名. The section before @ is the UUID or password. The address and port appear between @ and the question mark, followed by a series of parameters after the question mark. The section after # is the alias. Chinese characters in the alias are encoded as a series of percent-prefixed characters. Shadowsocks credentials are usually Base64-encoded and are explained separately below. A VMess link consists of vmess:// followed by an entire Base64-encoded
Common Troubleshooting
JSON payload. Its structure is not readable at a glance, so either import it from the clipboard or ask the provider for the original parameters. The “Core Type (Core类型)” field in the upper-right corner of the form determines which core runs the node. If you leave it blank, v2rayN uses the core selected for that protocol under “Settings (设置)” → “Core Type Settings (Core类型设置).” If no core is configured there either, v2rayN uses Xray. In the screenshots, this field is disabled in the Hysteria2 and Tuic forms because version 6.33 always uses sing-box for these two protocols. In version 7.24.9, TUIC still supports only sing-box, while Hysteria2 lets you choose between Xray and sing-box.
Underlying Transport
The VMess, VLESS, Shadowsocks, Socks, and Trojan forms each contain an “Underlying Transport (底层传输方式(transport))” section with four fields. For “Transport Protocol (传输协议(network)),” select the value specified by the type parameter in VLESS and similar links. For VMess, use the net value in the JSON. The version shown in the screenshots offers tcp, kcp, ws, h2, quic, and grpc. Version 7.24.9 changes these options to raw, xhttp, kcp, grpc, ws, and httpupgrade. Here, raw is the former tcp option, although exported share links still use tcp. The note to the right of this field says, “Default: tcp; choosing the wrong option will prevent connection (默认tcp,选错会无法连接).” If the transport protocol does not match the server configuration, the node will not connect even if every other field is correct. “Header Type (伪装类型(type))” matters only for tcp and kcp. For tcp, it is normally set to none. Change it to http only if the link contains headerType=http. The meanings of “Host (伪装域名(host))” and “Path (路径(path))” depend on the selected transport protocol. When ws is selected, Host is the Host header in the WebSocket request, while Path is the WebSocket path. These correspond to the host and path parameters in the link. Include the leading slash when copying the path. When grpc is selected, enter the serviceName value in the Path field. When tcp is combined with HTTP header obfuscation, you can enter multiple hostnames in the Host field, separated by commas.
Transport Layer Security and SNI
“Transport Layer Security (传输层安全(TLS))” is blank by default, which means TLS is disabled. If TLS is enabled on the server, select tls. VLESS and Trojan nodes also provide a reality option. This section is not expanded in the screenshots. After selecting tls, the form displays the SNI, Fingerprint, Alpn, and “Skip Certificate Verification (跳过证书验证(allowInsecure))” fields below. Fingerprint is used to emulate a browser’s TLS fingerprint and corresponds to fp in the link. The default value in the Xray documentation is chrome. If the link does not specify a value, select chrome or leave the field blank. Alpn corresponds to alpn in the link; leave it blank if no value is provided. You generally need “Skip Certificate Verification (跳过证书验证)” only when a self-hosted node uses a self-signed certificate. Nodes from a proxy service provider usually do not require it. The release notes for version 7.24.9 state that allowInsecure has been removed from the Xray core. In the newer form, self-signed certificates are handled through “Pinned Certificate (固定证书).” When using the Xray core, enter the certificate’s SHA-256 fingerprint. When using the sing-box core, enter the complete PEM certificate.
Additional Fields Required by REALITY
After selecting reality as the transport-layer security mode for a VLESS or Trojan node, you must enter five fields: SNI, Fingerprint, PublicKey, ShortId, and SpiderX. These correspond to sni, fp, pbk, sid, and spx in the link. The REALITY SNI must match one of the entries in the server configuration’s serverNames list. It is usually the domain name of a real, major website. Using the node’s own domain name may prevent the connection from working. PublicKey is the public key corresponding to the server’s private key. Newer versions of the Xray documentation call this field password, but the v2rayN interface still labels it PublicKey. ShortId is a hexadecimal string with a maximum length of 16 characters, and its length must be even. It can be left blank if the server permits an empty value. Fingerprint is required when using REALITY; select the value specified by fp in the link.
Share-Link Parameters and Form-Field Mapping
| Form field | In a VLESS link | In a VMess link’s JSON |
|---|---|---|
| Alias (别名(remarks)) | Section after # | ps |
| Address (地址(address)), Port (端口(port)) | Address and port after @ | add, port |
| User ID (用户ID(id)) | UUID before @ | id |
| Alter ID (额外ID(alterId)) | Not available | aid |
| Encryption | encryption | scy |
| Flow Control (流控(flow)) | flow | Not available |
| Transport Protocol (传输协议(network)) | type | net |
| Header Type (伪装类型(type)) | headerType | type |
| Host (伪装域名(host)) | host | host |
| Path (路径(path)) | path; serviceName for gRPC | path |
| Transport Layer Security (传输层安全(TLS)) | security | tls |
| SNI | sni | sni |
| Fingerprint | fp | fp |
| Alpn | alpn | alpn |
| PublicKey, ShortId, SpiderX | pbk, sid, spx | Not available |
V2Ray (VMess) Nodes
In the menu, click “Add [VMess] Server (添加[VMess]服务器).” VMess has been in use since the V2Ray era, and both the Xray and sing-box cores support it. Its share link is one long Base64 string. For manual entry, you will usually need to obtain the parameters from the server dashboard or, for a self-hosted server, its configuration file. Complete the three VMess-specific fields as follows.
- Enter the UUID in “User ID (用户ID(id)),” corresponding to id in the JSON. The adjacent “Generate (生成)” button creates a new random UUID. It is intended for setting up your own server, so do not click it when entering parameters provided by someone else.
- Keep “Alter ID (额外ID(alterId))” set to 0. This corresponds to aid in the JSON. The current Xray core no longer uses this field when reading VMess configurations.
- Keep “Encryption (加密方式(security))” set to auto. The Xray documentation explains that the server automatically
Screenshots (from the public tutorial on jichangtuijiancn.co; UI may differ by app version)

Fig. 1: The Server (服务器) menu in v2rayN 6.33. The upper section contains options for adding VMess, VLESS, Shadowsocks, Socks, Trojan, Hysteria2, and Tuic servers, while the final two items import from the clipboard and scan a QR code on the screen.

Fig. 2: The Add VMess Server (添加 VMess 服务器) form. The upper section contains Alias (别名), Address (地址), Port (端口), User ID (用户 ID), Alter ID (额外 ID), and Encryption (加密方式); the lower section contains the underlying transport and transport-layer security settings.

Fig. 3: The Add VLESS Server (添加 VLESS 服务器) form. Compared with VMess, it includes an additional Flow Control (流控) field, and Encryption (加密方式) is set to none by default.

Fig. 4: The Add Shadowsocks Server (添加 Shadowsocks 服务器) form. Its protocol-specific fields are Password (密码) and Encryption (加密方式); leave the transport settings below at their defaults.

Fig. 5: The Add Socks Server (添加 Socks 服务器) form. Both Username (用户名) and Password (密码) are marked as optional.

Fig. 6: The Add Trojan Server (添加 Trojan 服务器) form. Its protocol-specific fields are Password (密码) and Flow Control (流控), while Transport Layer Security (传输层安全) is blank by default.

Fig. 7: In the version shown, the Add Hysteria2 Server (添加 Hysteria2 服务器) form contains only Password (密码) and Transport Layer Security (传输层安全), and the Core Type (Core 类型) field in the upper-right corner is disabled.

Fig. 8: The Add TUIC Server (添加 TUIC 服务器) form requires a User ID (用户 ID), Password (密码), and congestion-control algorithm. Core Type (Core 类型) is also unavailable.
Related Resources
- 检测IP纯净度:ippure.com
- 免费节点:downloadnth、freesocks、openrung
- 专线搭建方案:2026中国大陆专线建设方案
- 美国静态住宅IP的VPN推荐:thank.my.id
- 带静态住宅的机场:
https://JTMRHF.快车.com(复制粘贴到浏览器打开)或者 https://jtmrhf.xn--66tw07h.com - 带静态住宅IP的VPS(独立站+线路搭建):lisahost
- 极速VPN:vpn07