Client reference6 categories / 21 terms

V2Ray Glossary

The protocol defines how the two ends of a connection communicate, the core determines which configurations can run, and routing rules decide where requests go. Use client fields and settings to look up each concept without conflating them.

01 / Protocols

Proxy protocols

A protocol name tells you how the two ends of a connection are expected to communicate. Even with the same address and port, the client and server may fail to establish a connection if they use different protocols.

VMess

VMess is a proxy protocol in the V2Ray ecosystem. It authenticates users by ID and provides payload encryption within the protocol. It is configured separately from outer TLS, so seeing VMess doesn't mean the connection uses TLS. When troubleshooting an old configuration, check that the user ID is correct and the device and server clocks are synchronized.

VLESS

VLESS is a proxy protocol that typically identifies users with a UUID. The protocol and the connection's security layer are configured separately. Common setups pair it with TLS or REALITY; a node labeled VLESS alone doesn't tell you which one is in use. When entering a configuration manually, make sure the protocol, transport, and security settings each match the server.

Trojan

Trojan is a password-authenticated proxy protocol that typically runs over TLS. The password authenticates access to the proxy, while the certificate verifies the server's identity; each serves a different purpose. If logs report a certificate error during the handshake, check the certificate name and system time before re-entering the authentication password.

02 / Handshakes & DNS

Transport & security

The security layer and DNS resolution handle different parts of a connection. An encrypted connection doesn't mean the DNS lookup made before it was established took the same route.

TLS

TLS encrypts communications and protects their integrity. Clients typically use certificates to verify the server's identity. The address used to connect may differ from the server name used to verify the certificate, so don't automatically enter an IP address in the name field. If a certificate is reported as invalid, check the system time, certificate validity period, and server name.

REALITY

REALITY is a connection security mechanism supported by Xray. It's commonly paired with VLESS, but is not another name for VLESS. In common VLESS setups, the user ID and the public key and server name required for the security handshake serve different purposes. Being able to import a VLESS profile doesn't mean the current core supports its REALITY settings.

DNS leak

A DNS leak occurs when domain lookups take an unintended path, exposing query information to a resolver or network that should not receive it. Apps may use their own resolvers or follow system settings, so a page loading or your apparent public IP changing doesn't tell you where DNS queries went. To troubleshoot, identify the resolver you expect to use and compare it with the actual query path.

03 / Implementations & compatibility

Core & ecosystem

The client manages profiles and presents settings; the core handles connections. When comparing compatibility, consider the client interface and the core actually running separately.

Project V

Project V is the open-source networking tools ecosystem that includes V2Ray. It is neither a proxy protocol nor the name of a graphical client. In everyday usage, V2Ray may refer to the ecosystem or specifically to its core. When reading configuration docs, first check whether the author means the client interface, the core implementation, or a particular protocol.

V2Fly

V2Fly is a community project that continues development of the V2Ray core. V2Fly Core commonly refers to the core maintained by the project. v2flyNG is an Android client that uses this core; the project and client names aren't interchangeable. If a configuration field isn't recognized, check the docs for the core version in use rather than relying only on the client's last update date.

Xray

Xray is a core engine forked from the V2Ray codebase and maintained separately from V2Fly. They share some protocols and configuration concepts, but their new features, supported fields, and default behavior aren't identical. When migrating between cores, verify that the target core recognizes each protocol, transport, and routing setting, even if the configuration's JSON syntax is valid.

04 / Traffic entry points

Client features

First check whether requests are reaching the client, then see which node it selects. System proxy and TUN are two ways to capture traffic; neither determines how that traffic is routed afterward.

System proxy

A system proxy is an operating system setting that directs requests from apps configured to use it to a specified proxy endpoint. It doesn't automatically capture traffic from every program: some apps use their own proxy settings, while others connect directly. If a browser behaves differently from another app, first check whether they use the same proxy settings.

TUN mode

TUN mode uses a virtual network interface to receive IP packets routed to it by the system, rather than relying on each app to use the system proxy settings. The traffic captured depends on routing and exclusion settings, and enabling TUN may require additional system permissions. If a local network service becomes unreachable, check whether its subnet is included in the traffic capture scope.

Local proxy port

A local proxy port is an endpoint where a client listens on the device for app requests. It can provide proxy services such as HTTP or SOCKS. It serves a different purpose from the remote server port in a node profile, and the two don't need to match. When configuring an app's proxy manually, match the proxy type as well as the port number to avoid sending HTTP requests to a SOCKS-only endpoint.

05 / Profiles & testing

Subscriptions & nodes

Updating a subscription, importing profiles, and testing a connection are separate steps. A populated list only means the client retrieved profiles it could parse; it doesn't mean every profile can connect.

Subscription

A subscription lets a client fetch and update multiple connection profiles at once, usually from a refreshable URL. Clients don't all support the same subscription formats: being able to open a URL doesn't mean the client can import the server list. To troubleshoot an update failure, distinguish an inaccessible URL from content the client can't parse. Don't share subscription URLs that may contain access credentials.

Node

A node usually means a connection profile in a client list. It includes the server address, port, protocol, and any required authentication details. The label in the list is just a name for identifying the profile; it doesn't prove the server's location or take part in the protocol handshake. One server can offer multiple profiles, and profiles with the same label may point to different addresses.

Real connection latency

Real connection latency is typically the time a client takes to send a request to a test endpoint through a selected node and receive a response. Unlike a direct ping to the server, it can be affected by connection reuse, the test endpoint, and how the client measures time. For a fair comparison, use the same test conditions and don't treat lower latency as proof of higher throughput.

06 / Matching & outbounds

Routing

When reading routing rules, check the match criteria first, then the outbound. Domain lists, IP ranges, and the default route each serve different purposes; some requests include only an IP address and can't match a domain rule directly.

Traffic routing

Traffic routing selects how requests are handled based on their characteristics, sending them directly, through a proxy, or blocking them. For example, local services and other requests can use different outbounds, but only if the requests have reached the client. To check whether routing worked, see which rule matched the request rather than just whether the system proxy is enabled.

Routing rule

A routing rule links matching criteria such as domain names, IP addresses, and ports to a specified outbound. In configurations that use the first matching rule, a broad rule near the top can override more specific rules below it. When troubleshooting, check the actual generated rule order, then confirm what information was available to match when the request reached the core.

GeoIP

In routing configurations, GeoIP usually refers to labeled collections of IP ranges that rules can match against. Matching a label means the destination address belongs to a range in the data file; it doesn't reveal the server's physical location. A domain may match different ranges as its resolved address changes, so check the address returned at the time of the request.

GeoSite

GeoSite is a collection of domain matches organized by category or service. A routing rule can reference multiple related domains through it. It differs from GeoIP in what it matches: domains versus IP ranges. Different data files may contain different labels and domains, so confirm the target environment includes a label before migrating a rule.

FakeDNS

FakeDNS assigns a temporary virtual IP to a queried domain and keeps the mapping so later traffic handling can recover the domain name. This can let the core route traffic by its original domain even when captured traffic contains only an IP address. A virtual IP isn't the real address of the remote server, so it can't tell you who owns the server or measure direct latency to it.

Default outbound

The default outbound handles requests that don't match any routing rule. In V2Ray-family cores, the first outbound listed in the core configuration is usually used when no rule matches. Some clients instead generate a catch-all rule at the end, which requests then match. To determine where unclassified traffic goes, check both the outbound order and the final rule.

For help choosing a setup, see Protocol Deep Dive. If the issue is with importing profiles, capturing traffic, or connection tests, follow the configuration steps in Getting Started.