Windows
Start with the v2rayN desktop edition, or choose WPF if you prefer its tray menu and shortcuts. Back up custom routing rules before switching editions.
Open-source client · Practical guides
Use v2rayNG on Android and v2rayN on desktop. Start with installation and subscription import, then configure split routing as needed.
01Before you connect
Verify the app's source and your subscription access first, then check the connection path. A running proxy only means the client is active; it does not prove that every app or DNS lookup is using the intended route.
Some subscription URLs contain access credentials, and anyone with the full URL may be able to view the node list. Hide the full URL, QR code, and account details in screenshots. Check diagnostic logs before sharing them, too. If a link is exposed, delete the original message and revoke or reset the old URL through the subscription provider, then update every device with the replacement. Deleting the subscription only from your device does not invalidate the old URL.
A client may handle subscription URLs, connection logs, and network requests passed to it by the operating system. Before installing, verify the app name, its maintainer, and why it requests each permission. Prefer packages traceable to the project's release channels. If an update warns that the signing certificate differs, don't uninstall the existing app just to proceed. Verify the source and back up any settings you need first; uninstalling may also erase local data.
DNS lookups and web connections are separate requests. Even when a web connection uses a proxy, DNS may be handled independently by the operating system, browser, or client. If the same domain behaves differently across apps, check the browser's secure DNS and the system's DNS settings first, then inspect the client's outbound route for that domain in the logs. Change one setting at a time and retest with the same network and app to avoid mistaking a cached result for a working rule.
02Features and rules
Subscriptions determine which nodes are available. Proxy modes decide which requests reach the client, and routing rules choose an outbound for each request. Configure them in that order to make problems easier to pinpoint.
Subscriptions make it easier to manage a set of connection profiles in one place. Once you have a URL from a trusted provider, save it in a subscription group in v2rayNG, then return to the main screen and update that group. Saving the URL does not fetch the nodes. If the list is still empty, check the update message, confirm the URL is valid, and make sure your network can reach the subscription source. Unlike individual share links, subscriptions can reflect changes from the provider. Keep manually added backup profiles in a separate group to avoid mixing sources during updates. After updating, select a node and start the connection.
On desktop, only apps that honor the system proxy settings send requests to the client; some programs manage their own networking and may ignore those settings. On Android, v2rayNG typically uses VPN mode, which lets the system send traffic from selected apps to the client. When connecting for the first time, proceed only if you initiated the system authorization prompt. Before choosing a mode, decide which apps need coverage rather than capturing everything by default. The mode controls how traffic enters the client; routing rules determine whether a request then uses the proxy or connects directly.
Split routing is useful when you want to keep LAN access while handling other connections according to rules. Start with the client's built-in presets and add custom rules only when needed. This example sends connections matching private addresses to the outbound named direct; that tag must already be defined in the configuration. Put more specific rules before general rules that could override them. After making changes, use the same app to test a destination that should connect directly and one that should use the proxy, then check the logs. This helps rule out cases where the app's traffic never reached the proxy in the first place.
{
"routing": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
}
]
}
}
If a desktop app doesn't support proxy settings, consider using TUN in a v2rayN setup that supports it. TUN receives traffic matching the system routes through a virtual network interface. It usually captures more traffic than the system proxy and may require additional system permissions. Before enabling it, note your existing settings and avoid running virtual adapters with conflicting routes or another VPN at the same time. After setup, check that both the target app and LAN devices are reachable. Even with TUN enabled, routing rules can still send traffic that enters the client through either the proxy or a direct connection.
Per-app proxy settings are useful when you only want to capture a few apps or let a particular app bypass the VPN. In v2rayNG, check how the app list works before selecting apps: proxy only selected apps and bypass selected apps are opposite modes. Reconnect after changing the settings, then test one app inside and one outside the list. These settings apply to the app making the network request. If a page opens in an external browser, check whether that browser is included rather than only checking the app that launched it.
Switching cores is mainly about matching the server configuration, not making every existing node faster. On desktop, v2rayN lets you select a core for a configuration from the available options. On Android, distinguish v2rayNG, which uses Xray, from v2flyNG, which uses the V2Fly core; they are not options in the same settings screen. When migrating, test one known-working profile against the protocol, transport, and security settings before importing everything. If the connection fails, check whether the target core supports the existing configuration. Don't change the subscription, mode, and routing rules all at once.
03Download clients
For a first install, check your operating system and processor architecture. When migrating from an older version, also check whether the installation method matches the one you already use. The client manages subscriptions and routing settings; changing the installer does not automatically migrate them.
Start with the v2rayN desktop edition, or choose WPF if you prefer its tray menu and shortcuts. Back up custom routing rules before switching editions.
Check About This Mac to choose the matching v2rayN package: arm64 for Apple Silicon or x64 for Intel.
Start with v2rayNG, or consider v2flyNG if your setup uses V2Fly. Match the package to your device, or use the universal build if you're unsure.
Choose the v2rayN build for your architecture: DEB for Debian or Ubuntu, or RPM for Fedora or openSUSE. After installation, test with the app you plan to use.
04Quick start
For your first session, use a single node from a known source with a clear configuration. Get one repeatable connection working before adding split-routing rules or changing which traffic the client captures.
Create a subscription group in the client, save the URL provided by your service, then update the group manually. Check that the expected nodes appear. If the update succeeds but the list is empty, check the selected group and import format. If the update itself fails, check whether the URL is reachable and still valid. There's no need to keep switching the system proxy at this stage.
Choose a node from the list. On Android, when starting the connection, confirm that the system VPN prompt was triggered by the client you just used. On desktop, begin with a basic system proxy test. If another tool is already using the VPN or controlling the system proxy, note its current state to avoid two tools competing for the same traffic. For your first test, keep the default routing so you can distinguish node connectivity from rule-matching problems.
Open an app you actually need online and make a fresh request. Then check the logs for a matching connection and see which outbound handled it. If you want to keep LAN access, also test a service you use, such as a home network printer. If a browser works but another app doesn't, first check whether that app is included in the proxy's scope, then review the routing and DNS settings.
05Ecosystem
The client presents the node list and settings; the core handles protocols, network connections, and routing. Understand the difference between these layers before looking into project history, configuration examples, and release notes.
Project V is the name of a suite of networking tools, with V2Ray as one of its core components. It separates accepting connections, initiating connections, and choosing where to forward traffic into three parts: inbounds, outbounds, and routing. Graphical clients turn frequently changed settings into forms, but the underlying concepts remain the same. For example, “bypass LAN” is a routing choice, not a different node. Understanding these terms also gives you a consistent way to reason about settings when switching clients.
V2Fly continues community maintenance of the V2Ray core, while Xray developed as a fork in the related codebase. The two share some configuration structures and protocols, but their supported transports, parameter meanings, and release timelines for new features may differ. If a configuration says it is for Xray, first check whether the target core recognizes its transport and security settings. A matching protocol name alone does not guarantee compatibility. The core must understand the configuration, and the server must also accept those settings.
v2rayN, v2rayNG, and v2flyNG are open-source clients. Use and redistribution of their code are governed by the license published by each project. VMess, VLESS, Trojan, and Shadowsocks are connection protocols, not software licenses or transport layers. To import a subscription, the client must recognize its sharing format. To connect, the core then communicates with the server using the specified protocol. Source code being available for review doesn't mean an unofficial modified package behaves like a project release, or reveal how a node provider handles your data.
A desktop interface update may move settings, a core update may affect protocol compatibility, and updated rule data may change how a set of domains is matched. Before updating, check whether the release concerns the interface, core, or rules, and back up your working configuration. Afterward, test with the same node and destination: verify the basic connection first, then retest direct-connection exceptions and app coverage. If the problem existed before the update, troubleshoot the current configuration first rather than replacing every component at once.
For managing multiple profiles with a graphical interface on desktop, start with v2rayN. For everyday use on Android, consider v2rayNG; use v2flyNG when your configuration specifically requires V2Fly. A client doesn't provide a node service, so you'll still need to obtain a working connection profile separately. If you're trying to understand a setting, use the glossary to identify whether it concerns traffic capture, routing, or protocols. To compare maintenance and supported devices, see the client comparison.
06Technical articles
From choosing a desktop interface and installing on different distributions to understanding each field in a configuration file. Pick the article that addresses your current question; there's no need to start at the beginning.
Compare the two interface frameworks, including platform support, appearance, and workflows. Find out which version suits Windows, macOS, and Linux users, and what to consider when migrating settings.
If you're thinking of switching interfaces, first identify what you rely on: tray actions, system proxy settings, or custom routing rules. Changing the interface and changing the core are separate tasks, so you can test them independently.
A guide to installing the v2rayN desktop app on Debian/Ubuntu and Fedora/openSUSE, handling dependencies, configuring the system proxy, and launching the app automatically after login.
Using a minimal working configuration, this guide explains inbounds, outbounds, routing rules, and DNS fields, with common syntax examples to help you understand exported client JSON and make safe, small changes.