Client configuration reference

V2Ray glossary

Look up terms by connection stage: start with protocols and cores, then find subscriptions, nodes, outbounds and DNS. Each term has its own anchor for quick access to its explanation.

Protocols and transport

A protocol defines how two sides exchange data; transport defines how that data is carried. When reading a node configuration, consider these separately from connection security settings.

Proxy protocols

VMess

VMess is a proxy protocol originating from V2Ray. It defines authentication and data exchange between clients and servers. It also depends on the system clock: if the device time is significantly off, authentication may fail even when the address, port and user ID are correct. If this happens, first check that the device time is synchronized.

Proxy protocols

VLESS

VLESS is a proxy protocol commonly used in Xray configurations. Users are typically identified by UUID. VLESS alone does not tell you what encryption the connection uses; check the node's security settings too. In common configurations, TLS or REALITY provides connection protection.

Proxy protocols

Trojan

A typical Trojan configuration uses TLS to establish a secure connection and authenticates with a pre-shared password. A correct password does not guarantee that the certificate will pass validation. If the logs report a certificate name mismatch, check the server name provided by the server instead of repeatedly changing the password.

Connection security

REALITY

REALITY is a connection security mechanism provided by Xray, often used with VLESS. If a node interface shows both VLESS and REALITY, the former is the proxy protocol and the latter is a security setting; they are not interchangeable protocol options. If importing fails, first check whether the current core supports this combination.

Data transport

Transport

Transport describes how proxy protocol data is carried between the client and server. WebSocket and gRPC are common options, each potentially requiring parameters such as a path or service name. Even with the same address and protocol, mismatched transport settings can cause the connection to fail before proxy authentication.

Cores and clients

Whether the interface can import a configuration and whether the core can run it are two separate questions.

Ecosystem

Project V

Project V is the open-source networking project from which V2Ray originated. In documentation, the name usually describes the project's history, not a particular Android installation package. When reading older guides, first identify whether they cover the project's background, core configuration or the interface of a specific client.

Configuration execution

Proxy core

The proxy core loads configuration, matches routing rules and establishes the actual connection. A client may save a configuration successfully only for the core to reject unsupported fields when it starts. If startup fails, check the logs to see whether configuration parsing failed or the connection failed after the core started.

Core forks

Xray

Xray is a proxy core developed from a fork of the V2Ray codebase and is commonly used by v2rayNG. It retains some configuration concepts from V2Ray, but the two do not support exactly the same features. When checking parameter documentation, verify that a field is supported by the core and version you actually use.

Community projects

V2Fly

V2Fly is a community project that continues V2Ray's development. Its core is commonly called v2fly-core. v2flyNG is an Android client that uses this core; the core handles connections, while the client is the app users operate. When moving nodes between clients, don't assume configurations are compatible just because the client names look similar.

User interface

Graphical client

A graphical client provides an interface for importing configurations, selecting nodes, starting or stopping connections, and viewing logs. v2rayNG is for Android, while v2rayN is for desktop systems. Even if both clients use the same node parameters, their system permissions, traffic coverage and the locations of common settings may differ.

Subscriptions and nodes

A successful subscription update only means the client retrieved a list. Test the nodes in that list separately to see whether they can connect.

Bulk updates

Subscription

A subscription lets a client retrieve a set of node configurations from a URL. The result depends on what the server returns at the time and how the client processes the list. Subscription URLs may contain access credentials. If you need help, describe the update status and error type without sharing the original URL.

Connection entries

Node

In a client list, a node usually refers to a selectable proxy connection configuration. It may include a server address, port, protocol, authentication details and transport settings. The prominent name in the list is just a label: two entries may share a name but use different configurations, or simply be duplicates of the same configuration.

Probe metrics

Latency

Latency is the time from starting a probe until it meets a specified response condition, usually measured in milliseconds. A quick TCP probe only shows that the port responded quickly; it does not prove that proxy authentication or the request to the destination will succeed. For meaningful comparisons between nodes, keep the test method and network conditions consistent.

Actual request probe

Real connection latency

Real connection latency usually means the time measured by sending an actual request to a test address through the selected node. Results depend not only on the node, but also on the test address, network and how the client measures time. A timeout means that the request did not complete within the limit, not that every destination is unreachable.

Routing and traffic splitting

First confirm that traffic reaches the core. Then check which rule it matches and which outbound that rule selects.

Matching conditions

Routing rule

Routing rules select an outbound for connections entering the core, based on conditions such as domain, IP address or port. In common V2Ray and Xray configurations, rules are checked in order and the first match takes effect. Putting a broad rule first may prevent requests from ever reaching later exceptions.

Rule references

Outbound tag

An outbound tag is the name a routing rule uses to refer to an outbound configuration. proxy and direct are commonly used for proxy and direct connections, respectively, but the tag itself does not determine behavior. If you change a tag, also check the rules that reference it and the configuration used by that outbound.

Address data

GeoIP

In routing configurations, GeoIP refers to collections of IP address ranges organized by region or purpose. It matches addresses based on categories in a data file; it does not determine a server's location in real time. If the destination is provided as a domain, whether this rule can apply also depends on the current routing domain resolution strategy.

Domain data

GeoSite

GeoSite is grouped domain data referenced by routing or DNS rules. The contents of the same group name may vary between data sources and versions. If matching results change, first check which data file is in use, then decide whether to add an explicit domain rule.

Outbound selection

Traffic splitting

Traffic splitting directs different connections through different outbounds according to rules. For example, local network traffic can go direct while another category of destinations uses a specified proxy. After making changes, test one destination expected to go direct and another expected to use the proxy. A page loading successfully only confirms that the request worked, not that it took the intended route.

System proxy and TUN

How the system hands off traffic, how the core selects an outbound, and which resolver handles domain lookups are three separate settings.

App connectivity

System proxy

A system proxy uses the operating system's proxy settings to send requests from apps that honor those settings to a proxy service. A browser may follow the system settings, while an app with its own network configuration may use its own proxy options. If only one app behaves differently, first check whether it uses the system proxy before changing nodes or routing rules.

Virtual network interface

TUN mode

TUN mode receives IP packets routed to a virtual network interface by the system, then processes them. Android clients typically provide this kind of connectivity through the system VPN interface. Coverage depends on system routing and the app list. Once a connection enters the tunnel, the core can still use rules to decide whether it goes through a proxy or direct.

App coverage

Per-app proxy

Per-app proxy determines which apps' traffic enters the client's VPN tunnel. Before configuring the app list, check whether the current mode includes only selected apps or excludes them. Adding a browser to the tunnel does not mean every request will use a proxy outbound; the core still applies its routing rules.

Domain mapping

FakeDNS

FakeDNS returns synthetic IP addresses for domains it handles and stores the mapping between each domain and its synthetic address. When an app connects to that address, the core can look up the original domain and apply domain rules. A synthetic address is not the real server IP. If an app has cached an old address after the mapping was cleared, it may need to resolve the domain again.

Resolution path

DNS leak

A DNS leak occurs when domain queries do not follow the intended resolution path and instead reach an unexpected resolver. Routing web traffic through a proxy does not prove that DNS queries use the same exit, since apps may have separate DNS settings. To troubleshoot, check the client's resolution strategy, system DNS settings and the app's own DNS options.

From terminology to configuration

Importing a subscription for the first time? Start with the getting started guide to import, connect and verify. To find out whether an issue is with system connectivity, domain resolution or outbound rules, see the relevant section of the user manual. Still choosing software? Compare the clients and narrow down your options by operating system and core requirements.