v2rayN Desktop uses a cross-platform interface, while the classic WPF edition retains its familiar desktop layout for users who prefer the older menus. Both support subscription imports. Before switching interfaces, back up your existing data. Confirm that your subscription groups and active routing rules are restored before disabling the old client. When connecting for the first time, make sure only one program is managing the system proxy.
Open-Source Proxy Client
V2Ray Mirrorv2rayN Downloads & Setup
Choose a client for your platform, start with subscription import, then configure split tunneling and TUN mode as needed.
01 Get Started
Download a client for your platform
Choose your operating system, then check the CPU architecture and package format. A client is not a proxy server; after installation, you’ll need to import your own servers or subscription.
Check your chip under About This Mac: choose arm64 for Apple Silicon or x64 for Intel. Both use a disk image. Don’t guess the architecture based on the computer’s appearance or purchase year. After installation, if your browser works but another app doesn’t use the proxy, first check whether that app follows the system proxy settings. Then decide whether to change how traffic is routed.
For Xray configurations, start with v2rayNG. If you already have a V2Fly configuration, compare its protocol and transport fields with v2flyNG. Choose the arm64 package if your device supports arm64; if you’re unsure, try the universal package. Before connecting, approve the system VPN permission prompt. If another VPN is already running, note its status before switching so a traffic-capture conflict isn’t mistaken for a server problem.
Debian- and Ubuntu-based distributions generally use deb packages; Fedora and other RPM-based distributions use rpm. Then choose x64 or arm64. Being able to open the package doesn’t mean the desktop environment will configure proxy access for every app. Test first with an app that explicitly supports proxies. If only apps that ignore system proxy settings fail, check their proxy settings separately.
02 Configuration
Subscriptions, Routing & Traffic Capture
First determine how app traffic reaches the client, then look at how the core resolves domains, matches rules, and selects an outbound. The snippets on the right are examples, not complete files you can import as-is.
Filter subscriptions by server name
Create a separate subscription group in v2rayN for each source. Open the group settings and add a regex to the filter field that matches server names, then update the group and compare the lists before and after. Test the expression against actual server names: start with a few known names, then broaden the match. Group filtering controls which servers appear in the list; it doesn’t decide which outbound a website uses. If the list is empty after an update, temporarily clear the filter and try again. Then check whether the expression matched anything or the subscription URL failed to return data.
^(?:Tokyo|Osaka)
- v2rayN
From specific rules to the default outbound
Routing rules are evaluated in order, and the first match determines the outbound. Put narrow exceptions before general rules, then set a fallback. Domain lists and IP address lists are different kinds of conditions; don’t assume they must both match in the same rule. With IPIfNonMatch, the core resolves the destination and checks address rules only if no domain rule matched. A catch-all in the domain rules may match first, so verify behavior against your actual configuration. Test one destination that should connect directly, then one that should use the proxy.
{"type":"field","domain":["geosite:cn"],"outboundTag":"direct"}
- v2rayN · Xray
- v2rayNG
Distinguish DNS resolution from mapped addresses
Remote and direct DNS settings determine which path handles name resolution. After configuring an upstream server, make sure the connection to it can be established as expected. FakeDNS returns a mapped address that lets the core recover the original domain when it receives a later connection; it is not another public DNS server. Enable it only when both DNS requests and subsequent connections pass through the same mapping mechanism. When troubleshooting, first confirm that regular DNS resolution works, then check whether the app uses its own encrypted DNS or a cached result. Don’t configure a mapped address as a service’s permanent address.
{"dns":{"servers":["https://1.1.1.1/dns-query"]}}
- v2rayN · Xray Configuration
- v2rayNG · Check Settings by Version
Route app connections through a virtual network interface
System proxy settings affect only apps that use them. If one app fails, check its proxy options first. If you need to capture more traffic, enable TUN in v2rayN and grant the permissions requested by your system. After switching, test your browser, the app that previously failed, and local services separately. This helps distinguish a local access issue caused by traffic capture from a server outage. Android clients capture connections through the system VPN interface, which is different from desktop TUN; check system permissions when troubleshooting.
{"type":"field","ip":["geoip:private"],"outboundTag":"direct"}
- v2rayN · Desktop TUN
Choose a core based on protocol and transport fields
Before switching cores, check the protocol, flow control, and transport security settings used by the server. The same base protocol name doesn’t guarantee support for the same parameters; configurations with specific flow-control settings need a core that supports those fields. Keep a working server configuration in v2rayN, switch the core in the server’s settings, and test that server alone. If the logs show an unrecognized field, restore the previous core and check the configuration. On Android, v2rayNG and v2flyNG are separate clients, not two options in the same switch.
"flow": "xtls-rprx-vision"
- v2rayN · Select a Core per Server
- v2rayNG · Xray
- v2flyNG · V2Fly
Start with a reproducible set of test results
For your first setup, start with a server you know works. Connect, open a regular website, and note the app, server, and traffic-capture mode. To check routing, also choose one destination that should connect directly and one that should use the proxy, then confirm the outbound in the connection logs. A page loading only shows that the request completed; it doesn’t prove which route it took.
If a subscription update fails, distinguish between whether the client can retrieve the subscription and whether your existing servers can connect. The first issue occurs during import or refresh; the second occurs when connecting. If existing servers still work, keep your server list and active group intact. Check the subscription URL, update method, and exact error before deciding whether to change proxy settings. Before sharing logs, remove subscription URLs, credentials, and private addresses.
Explore advanced usage · Troubleshoot subscription update failures
03 Open-Source Ecosystem
Project V, V2Fly & Xray
The client handles configuration; the core handles connections. Understanding the difference makes release notes easier to follow and problems easier to troubleshoot.
- Project V
- V2Fly / v2ray-core
- Xray-core
-
Project V: the ecosystem’s starting point
Project V offers a set of tools for proxy connections, with V2Ray as its core project. Its configuration separates inbounds, routing rules, and outbounds: inbounds accept app connections, routing selects an outbound based on conditions such as the destination address, and the outbound determines whether to connect directly, relay through a remote server, or drop the request. This explains why graphical clients separate system proxy, routing, and server settings—and why changing servers won’t automatically fix a faulty local rule.
When you see documentation labeled V2Ray, first check whether it refers to the ecosystem, core configuration, or a particular client’s menus. Core-level JSON can help explain routing rules, but it may not be a format the client can import. Conversely, a subscription’s server list usually describes only remote connection parameters; it won’t set your local DNS, default outbound, or system proxy policy.
-
V2Fly continues development; Xray evolves independently
The V2Fly community took over ongoing maintenance of the V2Ray core, while Xray branched from the same code lineage and developed independently. Both retain concepts such as inbounds, outbounds, and routing, but their features, field definitions, and release schedules have evolved separately. Before interpreting a core configuration, identify which branch it comes from. Even if both cores support a given base protocol, don’t assume that specific flow-control or transport security settings are interchangeable.
For example, when choosing a core for a connection using XTLS Vision flow control or REALITY, check support for those fields rather than relying on whether the connection name includes VLESS. If a field parsing error occurs during startup, check the core logs and configuration source first. If the core starts but the connection fails during the handshake, check the server address, whether both sides use matching parameters, and whether the network can reach the server.
-
What three open-source clients do
v2rayN is a desktop graphical client for managing subscriptions, editing servers, applying routing templates, and configuring the system proxy. It starts the appropriate core based on your settings. v2rayNG is an Android client that uses Xray, while v2flyNG follows the V2Fly core line. All three clients are open source. Traffic capture works differently on desktop and Android: desktop clients may simply configure the system proxy, while Android clients need system VPN permission.
Two clients reading the same subscription doesn’t guarantee the same connection behavior. After importing, check that the servers appear, their names are unchanged, and protocol and transport fields are intact. Once connected, check whether the system proxy or VPN is active. When moving between devices, pay particular attention to app routing, LAN access, and startup permissions. These settings depend on the local environment and aren’t copied along with server entries.
-
Check open-source licenses for each project
V2Fly’s v2ray-core is licensed under MIT; Xray-core uses the Mozilla Public License 2.0. The MIT license requires retaining copyright and license notices in copies or substantial portions of the software. The MPL is file-based: when distributing modified covered files, you must make the corresponding source available under its terms. Client code, cores, and rule data may have different licenses, so one component’s license doesn’t cover an entire package.
Checking licenses isn’t necessary for installation, but it matters when distributing or modifying software, or assessing where a component came from. To determine whether a configuration works on your device, start with the component name, the core actually running, and the fields that core supports. When reporting a problem, include these details instead of simply saying “V2Ray won’t connect”—it gives maintainers more to work with.
-
The UI, core, and rule databases update separately
A UI update may move menus or change defaults; a core update can affect connection behavior and supported fields; updates to domain and IP classification databases can change which entries belong to a group. That can alter routing even when the rules themselves haven’t changed. If a site uses a different outbound after an update, first compare the active rules and classification databases. There’s no need to immediately rebuild your subscription or switch clients.
Before updating, back up subscription groups, custom rules, and any configuration that was working. Keep connection details in backups private. After updating, test a known working server, then check a direct destination, a proxied destination, and a local service. If only one type of destination fails, note which component changed and compare them one by one. Changing several settings at once can make the results much harder to diagnose.
04 Technical Articles
Core Selection & Connection Testing
Start with the core’s feature set, then interpret the test results. These three articles cover how the projects relate, which Android client to choose, and common ways to measure connection performance.
A Guide to the Project V Ecosystem: How V2Fly, Xray, and v2rayN-Based Clients Fit Together
Trace Project V’s origins, the V2Fly community’s continued development, and the emergence of the Xray fork. Then see where v2rayN, v2rayNG, and v2flyNG fit, including their roles and open-source licenses.
A useful starting point for understanding which components release notes refer to, and whether a change affects the interface, core, or independently maintained rule data. Use the project map to identify which layer’s documentation to check when troubleshooting.
v2rayNG or v2flyNG: Choosing Between the Xray and V2Fly Core Lines
Learn how Xray and V2Fly branched and how their release cycles differ. Compare the cores used by the two Android clients and their configuration compatibility to choose based on your server protocol and preferences.
After reading, compare the protocol, transport, and flow-control settings in your server details instead of repeatedly testing the same subscription in both clients.
How V2Ray Latency Tests Work: TCPing, Connection Latency, and Download Speed
See what each test in v2rayN and v2rayNG actually measures, why the results don’t always match, and which metric to check first when troubleshooting a server.
An open port only shows that the connection reached that point; it doesn’t prove authentication, forwarding, or access to the destination worked. Learn why different test results shouldn’t be compared side by side as if they measured the same thing.