v2rayN and v2rayNG Setup Guide
Allow about 10 minutes if the client is installed and your subscription is ready. First, get a browser connection working; then decide whether to adjust routing or app coverage.
Before You Begin
You'll need the client, a subscription URL from a trusted source that you're authorized to use, and an authorized test address. If you haven't installed the client yet, choose the version for your device on the client downloads page. Subscription URLs may contain credentials, so don't share them in public screenshots or online converter tools.
Import a Subscription
First, make sure you have a subscription URL—not a service login page, plan details page, or single-node share link. A subscription URL lets the client fetch a set of configurations; import a single-node link using the client's single-node import option. Both can be copied and pasted, but putting one in the wrong place may save the text without making any nodes available. For your first setup, create a clearly named group so you can find new entries easily when updating or troubleshooting later.
v2rayN for Desktop
Open the main window and find Subscription Group in the top menu, then select Subscription Group Settings. Choose Add, enter a name and URL in the remarks and address fields, then save and return to the main window. Select the new group and choose Update from the Subscription Group menu. If the menu offers separate options to update the current group or all groups, start with the current group. When the update finishes, the group's entries should appear in the server list. If you already have subscriptions, check the selected group name so you don't mistake old entries for the latest results.
v2rayNG for Android
Open the side menu from the home screen and go to Subscription Group Settings or a similarly named management page, then tap the plus button in the upper-right corner. Enter a name, paste the full URL, and save. Return to the node list, open the upper-right menu, and select Update Subscription or Update Subscription Group. After the update notification appears, return to the group you added and check that selectable entries are listed. Seeing a group entry in settings only confirms that the URL was saved; it doesn't mean the subscription has been fetched.
If the list is still empty after updating, start with the client message. If the request failed, check that the subscription URL is reachable and hasn't expired. If the request completed but parsing failed, make sure the response uses a subscription format the client supports rather than showing a login or error page. Check that you haven't copied extra text, line breaks, or spaces around the URL. Don't change protocol fields or keep creating groups. If the same URL still won't import, use the FAQ to distinguish request failures from format incompatibility. Once nodes appear in the list, decide how to route traffic through the client.
Choose a Proxy Mode
Nodes and modes do different jobs: a node determines which server you connect to, while a mode determines how app traffic reaches the client. After importing a subscription, leave your existing routing settings in place and use just one browser for the first test. If it fails, you can first check whether the browser sent the request to the client, then whether the node is reachable. Changing the mode, routing, and DNS settings all at once can make separate issues hard to isolate.
Start with the System Proxy on Desktop
In v2rayN's tray menu or main window, find System Proxy and look for an option such as Set System Proxy. Enable it after selecting a node. For the first test, keep TUN mode off and use a browser that follows the system proxy settings. The system proxy doesn't automatically route traffic from every app. If your browser has its own proxy settings or an extension that overrides proxy settings, temporarily use a browser that follows system settings; there's no need to reset your usual browser configuration for this test. Also check whether the system already has a work proxy configured so you don't overwrite settings that need to stay in place.
Confirm VPN Mode on Android
Open Settings from v2rayNG's side menu. If your version has a mode option, make sure it's set to VPN mode rather than a mode that only provides a local proxy. If per-app proxying is enabled, check that the browser you're testing is included; if the mode excludes selected apps, make sure the browser isn't on the exclusion list. Before tapping Start, check whether another VPN is already running. If it's managed by your organization or device policy, don't replace it—use an authorized test device instead.
The system proxy or VPN determines how requests reach the client; routing rules determine whether a request is sent direct or through the proxy. Enabling the system proxy or seeing a VPN icon doesn't mean every site uses the same outbound route. Choose a test address that you know matches a proxy rule to verify the proxy path. A site matched by a direct-connection rule can test regular access, but it can't verify proxy routing. For a quick terminology refresher, see System Proxy, TUN, and traffic routing in the glossary.
Connect to a Node
Return to the group you just imported and choose a node you're authorized to use for this test. There's no need to run a latency test on the entire group first. Note the node name and current time locally so you can find this test in the logs later. Old latency results, colors, or list order reflect a previous test or display state; they don't show whether a browser request can connect now or whether an app is being proxied.
Set an Active Server on Desktop
In the v2rayN main window, select the target row and use the context menu or corresponding action to set it as the active server. Confirm that the active indicator has moved to that entry. Simply highlighting a row usually only selects it; it may not switch the server in use. Then return to the tray menu or main window, enable the system proxy, and open the log panel to check the startup entries. If the logs immediately show a port conflict or core startup failure, address that error first; switching nodes usually won't fix a local listening issue.
Start a VPN Connection on Android
On the v2rayNG home screen, select the target node and confirm the selection indicator appears, then tap the Start button at the bottom. The first time you connect, Android usually asks to create a VPN connection. Confirm the request comes from the client you opened before allowing it. Back on the home screen, check that the button shows a running state and look for the system connection indicator. Some devices don't keep a VPN icon in the status bar; you can check the system VPN settings to see which app owns the connection. If the button returns to its stopped state right away, check the client logs instead of tapping repeatedly.
A running status only confirms that local traffic capture has started; you still need to test whether the remote server can handle requests. If the logs show a connection timeout, handshake failure, or certificate error, note the first error that matches the time of your test. Repeated entries may not indicate separate problems. For certificate warnings, check the device time and configuration source; don't disable certificate verification just to connect. To see whether a single node is the issue, switch to one known-working node while keeping the mode, browser, and test address unchanged, then continue to the next step.
Verify the Connection
Open the browser you selected earlier and visit an authorized test address that should use the proxy under your current rules, such as a test page you or the service administrator controls. Make a fresh request in a new tab and note the time. Don't rely on a page that was already open: it may be cached or reusing a connection established before the settings changed. If needed, fully close and reopen the browser. Keep the test address and browser settings the same throughout the comparison.
Compare the Page Result with the Client Logs
If the page loads, return to the client logs and look for the destination address at the time you noted. If the current log level shows outbound tags, confirm the request used the proxy outbound rather than a direct connection. If no outbound tag is shown, don't infer the route from a generic access log entry. If the test service provides access logs, compare the request time and expected egress. When both routes share the same egress, a matching source address alone can't prove the request went direct; prioritize a clearly identifiable outbound log entry.
If the page won't load, first identify where the request stopped. If there's no corresponding client entry, check whether the browser follows the system proxy or whether Android's per-app rules include the browser. Also check whether the log level records access requests. If the request reaches the client but the outbound tag shows a direct connection, check the test address against your routing rules. If it matches the proxy but times out or the handshake fails, check the selected node and subscription configuration. Following this order avoids repeatedly switching servers when the browser hasn't sent the request to the client at all.
Test Once More, Then Disconnect
If the test address can normally connect directly, note the result with the proxy enabled, then stop the client's traffic handling and revisit the same address. Both visits may work; what matters is whether the first request has the expected proxy outbound entry or whether the source changes as expected. Before finishing on desktop, turn off the system proxy set by the client. If a separate proxy configuration was in place beforehand, restore its original value. On Android, tap the client's Stop button and confirm the system no longer shows its VPN connection as active.
That's enough for a first verification: one node, one connection mode, and one test request you can check against the logs. To troubleshoot disconnects or subscription issues, narrow down the cause in the FAQ. For core changes, protocol comparisons, or subscription compatibility, see protocol details. Keep a known-working configuration for comparison and change one setting at a time so it's easy to return to a working setup.