First Connection · 4 Steps
V2Ray Setup Guide
Go from subscription import to browser verification. Get one connection working before changing routing rules.
Before you start, make sure you have an installed client and a subscription URL you're authorized to use. Need to install a client? Choose a package on the client download page.
Save the Subscription URL, Then Update the List
First, copy the full subscription URL from your provider. A subscription is an address the client uses to retrieve a set of node configurations. It isn't a provider login page or a single-node share link. Keep any parameters after the question mark when copying; don't split the URL across multiple fields. Subscription URLs may contain access credentials, so don't post them in public comments, screenshots, or online conversion tools. If you only have a QR code or a single share link, check the subscription and link format guide to find the right place to use it. Don't force it into the subscription settings.
Desktop v2rayN: Import from Subscription Groups
Open the main window and go to the group settings under the Subscription Groups menu. Labels vary slightly by version; look for a window where you can edit both a remark and a URL. Add a group, give it a recognizable name, paste the URL into the address field, save, and return to the main screen. Switch to the new group, then choose Update current subscription from the Subscription Groups menu. If no nodes are available yet, you can try an update without using a proxy if that option is available. Whether it succeeds depends on whether your current network can reach the subscription URL.
Android v2rayNG: Save the Group, Then Update Manually
Open the menu in the upper-left corner and go to Subscription group settings, or a similarly named screen. Tap the plus button, enter a remark and the subscription URL, then save with the save button or checkmark. Return to the node list, switch to the group you just created, and choose Update subscription from the upper-right menu. Saving registers the URL; updating retrieves and parses the nodes, so an empty list immediately after saving isn't necessarily an error. When the update completes, selectable nodes should appear. If you already have other groups, check the current group name so you don't mistake an old list for the results of this update.
If the list is still empty after updating, start with the update message. For a timeout, confirm the device can access the internet and check that the subscription URL is reachable. For a parsing error, return to your provider's site and make sure you copied the subscription URL intended for clients, not a login redirect or share page. If the message says the account or URL has expired, get a new URL from your provider instead of repeatedly adding groups with the same name. For help checking the source, see where to get a subscription.
Decide How Test Traffic Enters the Client
Treat proxy mode and routing as separate settings. Proxy mode determines how browser requests reach the client; routing rules determine whether requests are sent directly, through a proxy, or blocked. A lit-up Connect button doesn't mean every request is using the proxy. For your first setup, choose one browser to test and leave the client's existing routing rules unchanged. That way, if something goes wrong, you can first check whether the request reached the client without also troubleshooting a new set of rules.
Desktop v2rayN: Start with the System Proxy
Find the system proxy controls at the bottom of the window or in the tray menu. Look for an option such as Set system proxy automatically, and enable it after choosing an active node in the next step. Test with a browser that uses the system proxy settings. If the browser has an extension that handles proxy settings separately, or a proxy configured by your organization, first check which settings it actually uses. Command-line tools and some apps may not use the system proxy; a browser using the proxy while a terminal connects directly is not a contradiction.
Android v2rayNG: Use VPN Mode and Check App Settings
Use the default VPN connection mode; Android will ask for permission when the connection starts. If you previously changed v2rayNG's per-app proxy settings, check that the test browser is included: with an allowlist, the browser must be on the list; with an exclusion list, it must not be excluded. If the device already has a work VPN, first check whether switching is allowed. Don't change managed network settings just for testing. If you can't switch, use a device approved for testing.
For now, don't enable desktop TUN, change DNS, or add routing rules at the same time. Once the browser connects, decide whether to use TUN based on which apps need coverage, and note the original settings so you can restore them. For details on virtual adapters and the scope of the system proxy, see the V2Ray system guide. Choose a test browser, then return to the node list to connect.
Set an Active Node and Check the Startup Result
Choose a node you're authorized to use from the subscription group you just updated. For your first test, you don't need to benchmark the whole list or pick the node with the lowest latency. If the client offers a real connection test, you can run it on a candidate node. It tries to reach the client's configured test target through that node. TCPing usually only checks connectivity to the server port; an open port doesn't mean the protocol handshake succeeded. Real connection tests also depend on their test target, so the real request you make in the next step is still the final check.
Desktop v2rayN: Set the Active Server, Then Enable the System Proxy
Right-click the node you want and choose Set as active server, or the equivalent option. Check that the current-server indicator moves to that row; don't rely on the selected-row highlight alone. Then enable the system proxy from the controls at the bottom of the window or in the tray menu, and confirm the window shows the current proxy status. Check the main window's log for repeated startup failures. If the log says a local port is already in use, first check whether the client was started twice or another proxy app is listening on the same port. Resolve any confirmed conflict before trying again; switching nodes repeatedly won't fix a local startup error.
Android v2rayNG: Select a Node and Tap Connect
Tap the node you want in the list, then tap Connect on the main screen. If Android asks to set up a VPN connection, confirm that the request comes from the expected client before approving it. Wait for the button to switch to its disconnect state, and check for the system's VPN indicator or notification. If you dismissed the permission prompt, tap Connect again in the client. If the connection drops immediately, check the client's error message and whether another VPN is active before deciding to try a different node.
The status you see at this point mainly confirms that the local service has started; it doesn't replace testing access in a browser. If the log reports a configuration load failure, note the error type and time, then check whether the current node's configuration is supported by the core you're using. Don't change the protocol, port, or transport settings based on a single error; the next subscription update may overwrite those changes. For details on protocols and cores, see the core families guide. Once the local service is stable, keep the node selected and open the browser you chose earlier.
Make a New Request to Check the Traffic Path
On the same network, use the same browser to make a new request. Don't rely on a page that was already open before connecting; cached content can make it look accessible. Choose a destination you're authorized to test and that should use the proxy under the current routing rules. If you're unsure, check the current routing rules rather than changing them right away. On desktop, confirm the system proxy is still enabled; on Android, confirm the VPN is still running. Note the time the page loads so you can find the corresponding entry in the client.
Tell Whether a Request Reached the Client and Used the Proxy
If the log shows access entries, find the matching line by request time and destination domain, then check its outbound route. A direct route (often labeled direct) means the client received the request but sent it directly according to the rules. A proxy outbound (often labeled proxy) combined with a successfully loaded page confirms both the routing decision and the result for that request. Labels can be customized, so check your current configuration. If your log level doesn't include access details, compare the exit IP shown by the same test page before and after connecting, if practical. A changed IP is only a clue; an unchanged IP doesn't by itself mean the test failed, since the rules may send that page directly.
If It Fails, Go Back One Step
No test request in the logs: If your current log level normally records access, return to proxy mode and check whether the browser uses the system proxy or is excluded by per-app settings. Request appears but goes direct: Check whether the destination matches the expected rule, then try a test destination that should clearly use the proxy. Proxy outbound appears but the page won't load: Keep the browser, network, and routing unchanged; switch only the node and retry the same destination. If multiple nodes fail at the same point, search the help center for the matching DNS resolution, connection timeout, or handshake error.
When you're done testing, note the working group, selected node, proxy mode, and browser so you can reproduce the setup later. If you won't use it for now, first clear the system proxy settings you enabled in the desktop client, then exit. Restore any previous system proxy settings if you had them. On Android, disconnect using the client's button and confirm the system VPN indicator disappears. Once this connection path works, continue with the system guide if needed. Change just one rule or setting at a time, then retest with the same request.