Xray vs V2Fly Core: VLESS, XTLS Vision, REALITY Support and Configuration Compatibility

Compare protocol support, transport features, and configuration fields across Xray and V2Fly, plus what to check before switching cores in your client.

At a glance

For readers using v2rayN on desktop or comparing v2rayNG and v2flyNG configurations on Android. A node importing successfully only means the client recognized its share-link format. Before switching cores, check the protocol, transport, security, and flow settings, then review the generated configuration and connection logs.

What layer do VLESS, XTLS Vision, and REALITY belong to?

A node name that includes VLESS, Vision, and REALITY does not mean it uses three proxy protocols. VLESS and VMess are proxy protocols; WebSocket and similar options are transports; TLS and REALITY are security options in the stream settings; and xtls-rprx-vision is an Xray VLESS flow-control value. Match the full set of parameters required by the server—choosing a core based on the protocol name alone is not enough.

Node importField mappingConfiguration loadingConnection handshakeOutbound forwarding
Node characteristicsXrayV2Fly
VMess + WebSocket + TLSConfiguration can be rebuilt from node parametersConfiguration can be rebuilt from node parameters; verify fields against the core version
VLESS, with no Vision or REALITY specifiedSupports VLESS; verify the transport and security settings as wellCheck VLESS and the relevant transport against the actual version and configuration format
VLESS + XTLS VisionSet flow as required by the serverNot a flow-control combination you can migrate directly
VLESS + REALITYUse a client and core that support REALITY and preserve the required fieldsDo not import an Xray REALITY configuration as ordinary TLS

Choosing a core: start with the fields you cannot replace

If the server requires security: reality or flow: xtls-rprx-vision, choose Xray from these two cores. To use V2Fly, select a compatible node provided by the server instead of deleting those fields.

Configuration fields: VLESS + REALITY vs. VMess + WebSocket + TLS

These two cards list items to verify, not complete configurations. Share links and core configurations may use different field names: for example, a link's type is usually mapped by the client to streamSettings.network, while pbk is the server public-key material used by the REALITY client. Confirm configuration field names against the Xray version in use and the output generated by your client; do not paste share-link parameters directly into JSON.

VLESS + REALITY (Vision example)

Proxy protocol
vless
Transport
Direct stream transport, written as raw or tcp depending on the version
Stream security
reality
VLESS flow control
xtls-rprx-vision, only when required by the server
Handshake parameters
Server name, public-key material, shortId, and client fingerprint

Verify each item after import; do not put the server private key in the client configuration.

VMess + WebSocket + TLS

Proxy protocol
vmess
Transport
ws
Stream security
tls
WebSocket settings
Path and Host, as required by the node
TLS settings
Server name and valid certificate verification

WebSocket Host and the TLS server name serve different purposes. Verify both, even when their values match.

The meaning of security also depends on its level in the configuration. In common VMess user settings, security: auto selects the message encryption method; it does not enable TLS. In common JSON configurations, streamSettings.security: tls specifies the TLS security layer for that outbound. When troubleshooting a migration, check the full field path rather than searching for security alone.

Core version, remote port, and local listening port

1.8.0
Xray version that introduced REALITY
443
Example remote TLS node port
10808
Example v2rayN local proxy listening port

The Xray version that introduced REALITY marks when the feature became available; it is not a version you should install today. The client version and core version are different numbers, too. Even if the interface lets you edit a REALITY node, confirm that the core actually launched is Xray and supports the required fields. When importing an older configuration, also check that field names match the core version currently running.

Before switching cores in v2rayN, v2rayNG, or v2flyNG

The cores available in desktop v2rayN depend on the release and installed components. Check which core actually launches for the test node, rather than relying only on the global default. On Android, v2rayNG and v2flyNG can be treated as clients geared toward Xray and V2Fly, respectively. Importing the same subscription into another app does not carry over its routing settings, local inbounds, or app-level proxy scope.

  1. Keep the original node and configuration. Duplicate a known-working node before making changes. Record the original core, remote address and port, local proxy type, and whether system proxy or TUN is enabled. Keep a rollback option and avoid changing the entire subscription at once.
  2. Review the generated configuration. Use the client's configuration preview or export option to check the outbound protocol, transport, and security layer. Verify the WebSocket path, server name, and Vision flow control if applicable. A share link being parsed successfully does not guarantee that every optional parameter made it into the core configuration.
  3. Check routing and DNS references. When migrating a custom configuration, make sure each routing rule's outboundTag matches an outbound with the same name. If you use rule sets, check that the target core can read the relevant data and that the referenced categories exist. Verify DNS and domain-resolution policies against the target core's configuration format.
  4. Test with one connection. First, use an app explicitly configured to use the local proxy to access a known-working address. Then test another address that should connect directly. A successful direct connection only confirms that the local network works; check the logs to verify that the first request actually used the proxy outbound.

Node stops working after a core switch: troubleshoot by failure stage

First determine whether the request stops at configuration loading, the local listener, or the remote handshake. Separating these stages helps avoid repeatedly changing server settings before the core has even started, or mistaking a local proxy setup issue for transport incompatibility.

Configuration did not load
For errors such as unknown protocol, unsupported security type, or missing fields, first check the core version in the log, then identify which configuration layer the error refers to. If required routing data did not load, resolve the startup error first; a connection test cannot tell you the node's status yet.
Core starts, but local apps cannot connect
Check that the app's proxy address, port, and protocol match the listener. On Android, also confirm that the test app is within the client's proxy scope. After switching clients, review the app-routing selection again.
Remote connection attempted, but handshake failed
For TLS nodes, check the server name, certificate status, and device clock. For REALITY nodes, verify the server name, public-key material, and shortId, and confirm whether Vision is required. If WebSocket returns HTTP 404, first check whether the path and Host match the server's configured entry point.
Node connects, but some domains use the wrong outbound
Check the routing log to see which rule actually matched. Domain and IP rules rely on different inputs; if a broader rule matches first, later exceptions will not apply. Check rule order first, then review the resolution policy instead of reimporting credentials.
Download V2Ray clients