Open-source client · Practical guides

v2rayNG for AndroidV2Ray setup guides

Use v2rayNG on Android and v2rayN on desktop. Start with installation and subscription import, then configure split routing as needed.

  • Subscription management
  • Per-app proxy
  • Xray · V2Fly

01Before you connect

Check connection risks and settings

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.

Exposed subscription links

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.

Unofficial or modified clients

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 requests taking the wrong route

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, proxy modes, and split routing

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.

Refresh the node list from a subscription

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.

Subscription groups
Save subscription URLs and keep sources separate.
Update subscription
Fetch the group's node profiles again.

03Download clients

Choose a V2Ray client for your device

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.

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.

macOS

Check About This Mac to choose the matching v2rayN package: arm64 for Apple Silicon or x64 for Intel.

Android

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.

Linux

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

Import a subscription and test the connection

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.

  1. Import a subscription and check for nodes

    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.

  2. Select a node and connect

    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.

  3. Retest the outbound with your target app

    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

How Project V, V2Fly, and Xray fit together

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.

v2rayN
Desktop interface · multiple core options
v2rayNG
Android interface · Xray
v2flyNG
Android interface · V2Fly

About the projects and this site

  1. How Project V relates to V2Ray

    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.

  2. V2Fly and Xray are separate core branches

    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.

  3. Open-source licenses and connection protocols are different things

    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.

  4. Clients, cores, and rules are updated separately

    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.

  5. Choose by connection needs, not by name

    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

Client selection and advanced configuration

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.

v2rayN Desktop (Avalonia) vs. WPF: Interface Frameworks, Supported Platforms, and Which to Choose

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.