Sync V2Ray Settings Across PC and Android: Subscriptions, QR Codes & Backups

Compare subscription links, node share links and QR codes, and configuration backups for moving settings between v2rayN and v2rayNG.

At a Glance

For everyday use across devices, add the same subscription to your PC and phone. To move a single node temporarily, use a share link or QR code. For reinstalling the same client, consider a full backup. Each method transfers different data. This guide covers v2rayN on desktop and v2rayNG on Android, distinguishing node settings from client preferences and traffic routing so you don’t mistake identical nodes for fully synced settings.

1. Understand Subscriptions, Node Sharing, and Full Backups

V2Ray is a core project in the proxy ecosystem; v2rayN and v2rayNG are clients that manage nodes and run a core. Client databases, interface settings, and core runtime configurations are different kinds of data. A configuration file that works on a PC is not necessarily a backup that a phone can restore.

“Using the same configuration” usually means using the same server settings on both devices—not sharing local ports, system proxy settings, or Android app lists. Decide what you need to transfer before choosing a method to avoid unnecessary work.

Same Subscription Link

Recommended

Each device fetches nodes from the subscription service separately. If a server address or port changes, update the subscription on each device to get the new settings. This won’t upload nodes you manually changed on your PC to your phone, or sync routing rules.

Best for: Using a PC and phone regularly when the subscription service manages your nodes.

Single-Node Link or QR Code

Transfers the current node settings to another device as a one-time snapshot. A QR code is just another way to carry text, not an encryption method. If the node changes later, share it again or update it manually.

Best for: Moving one node temporarily, or sharing a manually configured node without a subscription.

Client Configuration Backup

What gets saved depends on the client and version; a backup may include groups, nodes, and some preferences. Backup formats vary, so you can’t restore v2rayN data files directly in v2rayNG.

Best for: Reinstalling or replacing a device running the same client, or saving your settings before making major changes.

2. Add the Same Subscription on Your PC and Phone

First, get a subscription link from your service provider that works with both clients. Subscription links often contain access tokens, so copy the entire URL and make sure chat apps haven’t inserted a line break or dropped any trailing characters. The steps below use common menu names in Chinese-language interfaces; if your version puts the option in a sidebar or overflow menu, look for the equivalent subscription group settings.

  1. Add the Subscription on Your PC

    In v2rayN, open “Subscription Group” → “Subscription Group Settings,” create a group, and enter an “Alias” and “Optional Address (Url).” Save your changes. The alias is only for identifying the group on this device and doesn’t affect the other one.

  2. Update the List on Your PC

    Return to the main window and select “Subscription Group” → “Update All Subscriptions (without proxy).” If the subscription URL can only be reached through an existing proxy, choose “Update All Subscriptions (through proxy)” instead; you’ll need a working node first.

  3. Add the Subscription on Your Phone

    Open “Subscription Group Settings” from the v2rayNG side menu, tap “+,” and enter a “Remark” and “Optional Address (Url).” Paste in the same subscription link and save. Don’t enter it in the server address field for a manually added node.

  4. Update the Group on Your Phone

    Return to the configuration list and select the subscription group. Open the overflow menu in the top-right corner and choose “Update current group subscription.” Once the nodes appear, select one and tap the connect button. On the first connection, follow Android’s prompts to authorize the VPN connection.

  5. Test the Connection on Each Device

    On both devices, check the selected node and runtime logs, then open the same reachable HTTPS page. Confirm that it loads fully rather than relying only on the latency reading. Updating a subscription and connecting through a proxy are separate operations.

Recommended Setup: Shared Node Source, Separate Device Settings

Desktop: v2rayN
  • Add the shared subscription link and update it independently.
  • Choose a compatible core for the node and keep desktop routing settings local.
  • Enable system proxy or TUN as needed. Avoid running multiple traffic-routing tools at once.
Android: v2rayNG
  • Add the same subscription link and select an active node independently.
  • Use the Xray core and check that your version supports the node’s required features.
  • Configure per-app proxying separately and check Android’s background activity restrictions.

After updating both devices, they can use the same node source. Update times, selected nodes, and local rules are still stored separately; this is not real-time, two-way sync.

Automatic updates also need to be configured on each device. Don’t assume that updating the desktop client will immediately refresh your phone’s list. If the phone hasn’t been used for a while or Android has restricted its background activity, update manually before deciding the subscription has expired.

3. Move a Single Node with a Share Link or QR Code

If you only have one manually configured node, you don’t need to set up a subscription service just to move it. In v2rayN, right-click a node in the server list to find the share or export options. You can copy a share link to the clipboard or display a QR code. Menu labels vary by version; make sure you’re sharing the selected node, not the entire subscription URL.

vmess:// and vless:// are common protocol prefixes for node share links, not a standard format for subscription update URLs. A QR code may also contain a subscription URL, so check what the client detects after scanning; seeing content isn’t enough to confirm a successful transfer.

SettingWhat to CheckWhat Happens If It’s Missing
Server and identityAddress, remote port, user ID, and protocolConnection fails or the server rejects authentication
TransportTCP, WebSocket, or gRPC; path, Host, or service namePort is reachable, but application requests fail
SecurityTLS, server name, and—when using REALITY—required settings such as the public key and short IDHandshake fails or logs report mismatched settings
Local behaviorRouting, DNS, system proxy, and per-app proxyNode connects, but some apps don’t use the proxy

4. Use Backups to Restore; Use Share Links to Move Between Clients

Client backups and core JSON serve different purposes. A client backup restores client data, while core JSON describes the inbounds, outbounds, routing, and other settings needed for a core to run. Copying a JSON file to another client won’t restore subscription groups, update schedules, or interface preferences.

  1. Record your setup first. Note the source client version, core, installation method, and backup date. Keep an older backup before upgrading; don’t rely solely on data rewritten by the new version.
  2. Use the built-in backup option when available. If your version offers configuration backup, export, or restore under “Settings” or the overflow menu, use the matching options and check what they include. Similar names don’t mean the file formats are interchangeable.
  3. Exit the desktop client before backing up files. If you’re backing up the data directory, exit v2rayN from the system tray first and make sure its process has stopped. Then copy the actual user data directory. Paths may differ between portable and installed versions; copying only the application itself isn’t enough.
  4. Make another backup before restoring. Save the current data on the destination device and, if possible, test the restore with the same client version. Don’t overwrite another client’s directory with the source client’s database files.
  5. Reauthorize after restoring. Check the core path, local ports, system proxy, and Android VPN permissions. Copying files between devices won’t grant system permissions for you.

When moving from v2rayN to v2rayNG, you’ll usually only need to transfer the subscription or node, then recreate routing and DNS settings manually. Android per-app proxy rules refer to apps installed on the phone; there’s no direct equivalent to desktop processes or system proxy settings to import. If an app isn’t installed on the new device, its old selection won’t work as-is.

5. Check Ports and Traffic Routing Separately, Even with the Same Node

Local listening ports don’t need to match across devices. On a PC, 127.0.0.1 means the PC itself; on a phone, it means the phone itself. Your phone can’t use that address to reach your PC’s proxy port, and everyday cross-device setups don’t require exposing the PC’s listener to your local network.

443
Default remote port for HTTPS; use the port specified by the node
10808
Example of a local proxy port; check the port the client is actually listening on

These numbers refer to ports at different levels; they aren’t recommended fixed values to change to. The server port must match the node settings. The local port is for apps on that device and can be configured in the client. Entering the remote port as the local port will usually make the connection fail.

6. Treat Subscription Links and QR Codes as Credentials

A subscription URL may let anyone who has it download a full set of nodes, while a node QR code may contain the identity settings needed to connect. These aren’t ordinary product links. Screenshots, clipboard history, and device cloud sync can all retain information you meant to send only to another device.

A simple order of operations works well: use the same subscription source on both devices, select a working node on each, then configure traffic routing and local settings separately. Sharing is for moving a single node; full backups are mainly for restoring the same client. Keep these tasks separate so you know what will transfer—and what you’ll need to set up again—when changing devices.

Use a shared subscription for node settings, and configure local routing and system permissions separately.

Download v2rayNChoose a client for your platform