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
RecommendedEach 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.
-
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.
-
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.
-
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.
-
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.
-
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.
- Transfer by text: Copy the node share link and send it to your phone through a trusted channel. In v2rayNG, tap “+” on the main screen → “Import from clipboard.” Check the node details after importing.
- Transfer by QR code: Display the node’s QR code on your PC. In v2rayNG, tap “+” → “Scan QR code” and grant camera access when prompted. If the QR code is dense, enlarge it and make sure the full border is visible.
- Transfer back to your PC: In v2rayNG, long-press a node and use the share option to get its link. Copy it on your PC, then in v2rayN open the “Servers” menu and select “Import batch URLs from clipboard.”
- Check for duplicates: Confirm the destination group before importing. Repeated taps can create duplicate entries, which won’t automatically become an updatable subscription.
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.
| Setting | What to Check | What Happens If It’s Missing |
|---|---|---|
| Server and identity | Address, remote port, user ID, and protocol | Connection fails or the server rejects authentication |
| Transport | TCP, WebSocket, or gRPC; path, Host, or service name | Port is reachable, but application requests fail |
| Security | TLS, server name, and—when using REALITY—required settings such as the public key and short ID | Handshake fails or logs report mismatched settings |
| Local behavior | Routing, DNS, system proxy, and per-app proxy | Node 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
- Works in your desktop browser, but not in other programs: Check whether the program uses the system proxy. Enabling the system proxy doesn’t send every network request through the core. If you need to route more traffic, review the permissions and routing requirements for TUN first.
- Only some apps work on your phone: Check v2rayNG’s per-app proxy settings and confirm whether it proxies only selected apps or bypasses them. It’s easy to reverse these options by mistake.
- The same node behaves differently on each device: First confirm that the updated address, port, and security settings match. Then check each device’s network, DNS, and routing. Your PC’s Wi-Fi and your phone’s mobile network may take different routes.
- One device stops working after an update on the other: Check whether the older device still has an outdated node, then see if the server limits simultaneous connections. Don’t start by deleting all your data or disabling certificate verification.
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.
- Copy these only between your own devices or through trusted channels. When you’re done, clear temporary text, screenshots, and clipboard history containing the full link.
- Store backups somewhere with access controls. For long-term storage, use encrypted storage and keep the unlock information separate from the files.
- When sharing troubleshooting screenshots, obscure the full subscription URL, user IDs, and QR codes. If you need to show the protocol, transport type, or error message, include only those non-sensitive details.
- If your subscription URL is exposed, reset its token using an option provided by your service provider, then replace the URL on both devices. Whether the old node credentials are also invalidated depends on the server’s rules.
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.