Open-source clients and configuration guides

V2Ray Resource Hubv2rayN Downloads

Choose an open-source client for your system, then check each step from subscription import to traffic routing.

  • Protocols and transports
  • VMess
  • VLESS
  • Trojan
  • REALITY

Get a client for your system

01Client features

Protocols, subscriptions, and traffic capture

First check whether the client can read the configuration, then whether the core can run it. The examples on the right highlight fields worth checking for each feature.

OUTBOUND / SECURITY

Protocol and transport security settings

protocol: vless
streamSettings.security: reality

The first specifies the outbound protocol; the second specifies the security mechanism. This shows how the fields relate, not a complete configuration.

02Platform downloads

Choose a package for your system

Check your OS, processor architecture, and package format, then review the installation requirements for your platform. Use v2rayN on desktop; on mobile, choose a client based on the core you need.

Windows
v2rayN offers an Avalonia desktop edition and a classic WPF edition. If you’re installing it for the first time, start with the desktop edition; users familiar with the classic interface can stick with WPF. Before migrating, back up your subscriptions and custom routes, then test proxy settings with one node. Don’t mistake port conflicts from running both interfaces for a protocol incompatibility.
macOS
v2rayN has separate installers for Apple Silicon and Intel. Check your chip or processor in System Information, then choose the native build. After opening the client, verify separately that the system proxy is working. A menu bar icon only means the interface is running; it doesn’t confirm that app traffic is using the expected outbound.
Android
v2rayNG uses the Xray core; choose v2flyNG if you need the v2fly core. Confirm your device supports arm64 before choosing the matching package; if you’re unsure, try the universal version. Both clients can store their own settings, but when testing a connection, let only one client handle system traffic to avoid conflicting connection states.
Linux
Choose a v2rayN deb or rpm package that matches your distribution, then select x64 or arm64. Installing a desktop package doesn’t guarantee that your desktop environment will apply proxy settings automatically. If the client connects but apps still connect directly, first check whether they use the session proxy, then decide if separate configuration is needed.

03Open-source ecosystem

Project V, V2Fly, and Xray

Proxy interfaces, cores, and protocols are three different layers. When features differ, first identify the layer involved, then consult the relevant documentation.

Interface
v2rayN · v2rayNG · v2flyNG
Core
V2Fly · Xray
Configuration
Inbound → routing → outbound

Core terminology guide

Project V and configuration objects

V2Ray began as a proxy core in the Project V ecosystem. Its configuration separates inbound connections, routing decisions, and outbound connections into distinct objects. This lets local apps send traffic through a single entry point for the core to handle, while different destinations can use different outbounds. Graphical clients map these objects to port settings, rule lists, and server lists, so you don’t have to edit an entire configuration from scratch for everyday tasks. If a setting in the interface is unclear, trace it back to the relevant field in one of these three layers.

For example, the core can match rules only after an app connects to the correct local proxy address. If a browser is configured to use a proxy but immediately reports that the local connection was refused, check whether the core is running and whether its listening port matches. If the log shows an inbound request but the outbound handshake fails, the local listener is working; check the outbound settings and remote reachability instead. Separating these cases helps avoid repeatedly switching nodes when the port isn’t even open.

Compatibility boundaries between V2Fly and Xray

Maintained by the community, V2Fly continues V2Ray’s development. Xray grew from a related codebase, retaining some similar concepts while developing its own protocol, transport, and security implementations. Both projects may use terms such as inbound, outbound, and routing, but fields with the same name don’t necessarily support the same values or defaults. When migrating, check that the target core supports the combinations you actually use; don’t rely only on whether the interface accepts the same share link.

To reuse a configuration across cores, start with a minimal test using one node: check the protocol and port, then the transport and security layer, and finally add custom routes. If the core reports an unknown field at startup, find out which implementation that field comes from. If the core starts normally but the handshake fails, compare the server settings. Check rule data separately, too: a category may be missing or mean something different in another data file, so don’t assume the resources are interchangeable.

Protocols, transports, and security layers

VMess and VLESS are protocol types; TCP and WebSocket describe how data is carried; TLS and REALITY are security-layer settings. Whether a connection works depends on the combination, not on any one name. VLESS doesn’t provide transport encryption by itself, so a link labeled VLESS still requires you to check its security layer. With TLS, also verify the server name, certificate, and system clock. Don’t mask certificate errors by disabling verification.

Open-source implementations and public documentation make it easier to compare settings and understand defaults, but they don’t replace evaluating the provider and connection configuration. In particular, distinguish the local inbound port, the server’s listening port, and the transport path: they apply at different stages, and matching values don’t make them interchangeable. When troubleshooting, note the field names and error types. Hide identifiers, access credentials, and actual server addresses before sharing the details.

What the three open-source clients do

v2rayN is a desktop GUI client for editing outbounds, managing subscriptions, and reviewing logs in one place. v2rayNG uses the Xray core on mobile, while v2flyNG offers an option built around the v2fly core. All three are open-source projects, but sharing an ecosystem doesn’t mean they share every setting. Data exported from the desktop client may include local file references or custom routes. Migrate those items individually using the target client’s options rather than overwriting its entire configuration with one from another platform.

Choose a client based on how you use it, not on the length of its protocol list. If your main task is importing a set of nodes, check that the client can read the subscription format and preserve groups. If you need custom routes, look at how rules are edited and which core runs them. If connections stop when the client goes into the background, check the system’s background-running permissions and the app log before blaming core differences.

Update the interface, core, and rule data separately

The desktop interface, core, and routing data can all update on different schedules. An interface update may move menu items; a core update may change supported fields; a rule data update may change which category a domain belongs to. If a problem first appears after an update, identify exactly what changed. Refreshing a subscription fetches nodes again; updating rules replaces matching data. Neither is a core upgrade.

For routine maintenance, keep a working configuration and a copy of your custom rules. Note a few representative requests to test: a local network address expected to connect directly, a domain expected to use the proxy, and an app you use often. Change one type of setting at a time, then compare the logs for the same requests. If behavior changes after a software update, check the default outbound and configuration conversion first. Pinpointing the step that changed is easier than clearing everything and starting over.

04Configuration notes

Using the interface and troubleshooting

Choose what to read based on where the error occurs: first determine whether it’s a subscription import, a node connection, or a client interface setting.