v2rayN Subscription Setup & Connection Guide

Start with a subscription URL: fetch the nodes, then choose a proxy mode. Verify the setup with an actual browser request rather than relying on the connection icon.

Before you begin, make sure your device has internet access, install the client for your device from the download page, and have the full subscription URL from your provider ready. For the first setup, use one subscription group, one node, and one browser. Get this working on your current network before setting up other apps or devices.

Import a Subscription and Update the Node List

A subscription URL lets the client fetch node configurations; it isn't a server address for a specific node. Copy the entire URL, including its path and any parameters after the question mark. Remove only accidental spaces, line breaks, or quotation marks. If you have a single-node share link, use the client's clipboard import feature instead of saving it as a subscription. Subscription URLs may contain access credentials. When sharing screenshots or logs for help, hide the entire URL, not just the last few characters.

v2rayN for desktop

Open Subscription Group in the main window, then select Subscription Group Settings and choose Add. Give the group a recognizable name, paste the subscription URL into the address field, and save. Back in the main window, select the new group and choose Update Current Subscription from the Subscription Group menu. For the initial setup, if you don't yet have a working proxy and your current network can reach the subscription URL directly, choose the update option that doesn't use a proxy. Wait for the result in the message area, then check the group you just created. Don't use nodes from another group in the All view to decide whether this update succeeded.

v2rayNG for Android

Open the side menu on the home screen, go to Subscription Group Settings, and tap Add. Enter a label and the subscription URL, then save. Return to the home screen, switch to the relevant group, open the menu in the upper-right corner, and select Update subscription. Creating a group only saves the URL; it doesn't fetch nodes. After the update, one or more entries should appear in the target group. If the list is empty, clear any search or filter on the home screen and make sure you updated the group you just created.

If an update fails, start by reading the client's message. A connection timeout means the fetch didn't finish in time; check whether your current network can reach the subscription URL. If the message says access is unauthorized or the subscription has expired, ask your provider whether the URL is still valid. If the logs show a response was received but no entries were parsed, make sure you copied a subscription URL rather than a link to your account page, and ask your provider to confirm the subscription format. Don't delete the old group just because an update failed: its entries may still work, and deleting it removes a useful point of comparison. See Managing subscriptions in Advanced Usage for update order and group filters.

At this point, you should see nodes in the target group. This confirms the client fetched the configuration, but doesn't mean the nodes work or that your browser is using the proxy. Keep the group and move on to choosing a mode.

Choose a Proxy Mode and Traffic Coverage

First, understand the difference between two settings: proxy mode determines which apps can send requests to the client, while routing rules determine which outbound a request uses after reaching the client. For example, a desktop browser may follow the system proxy while a routing rule still sends its request directly. Conversely, even complete routing rules can't affect requests that never reach the client. For your first connection, keep the default routing rules and choose just one way to route traffic. That makes it easier to identify which layer to check if verification fails.

Desktop: Start with the system proxy

In v2rayN, first make sure TUN mode is off. Use a browser that follows the system proxy settings for this test; you'll enable the system proxy in the next step. If the browser has its own proxy settings, make sure it's set to use the system settings. Browser extensions can override them too. The system proxy doesn't cover every desktop app, so an app bypassing the proxy doesn't by itself mean the node is broken. If your device already has proxy settings managed by your employer or school, note them first. Don't overwrite settings you aren't authorized to change, or layer another proxy tool on top just to test.

Android: Make sure the browser is covered

In v2rayNG, use VPN mode to route app traffic through Android's VPN interface. If per-app proxying was enabled before, check in Settings whether the app list is an allowlist or a bypass list, and make sure your test browser is covered. If this is your first time using the client and per-app proxying is off, you don't need to create a list. If another VPN is running, first make sure it isn't a work connection you need to keep. If it's safe to switch, disconnect it before testing to avoid the two VPNs replacing each other.

Don't change DNS, enable FakeDNS, or rewrite routing rules to troubleshoot issues you haven't identified yet. In particular, a local website opening normally doesn't mean you should switch modes; it may already be set to connect directly. If you need to route apps that don't follow the system proxy, see the TUN and routing sections in Advanced Usage. For now, start the client using the mode you chose.

Set an Active Node and Connect

Return to the subscription group you just updated, choose a node to test, and note its name in the list. If several nodes have the same name, check the group and row position so you don't accidentally switch back to the original node. There's no need to run a batch speed test or edit the protocol or transport settings supplied by the subscription. Try the configuration as-is first, then troubleshoot the specific step if an error occurs.

v2rayN: Set the active server and enable the system proxy

Select a node in the main window, then use the right-click menu to set it as the active server. Check the list or status area to confirm it's marked active; a highlighted row isn't necessarily the active node. Next, open the tray menu and, under System Proxy, select Set system proxy automatically or the equivalent option. Return to the main window and check for messages about the core starting. If you see a local port-in-use error, first check whether another client instance is running. Switching remote nodes won't free a local port.

v2rayNG: Select a node and approve the VPN request

Select the node you want on the home screen and make sure the selection indicator moves to it, then tap Connect. The first time you connect, Android will show a VPN connection request. Confirm that it comes from the v2rayNG app you just opened before allowing it. If you denied permission, return to the home screen and tap Connect again to trigger the request. If the button immediately returns to a disconnected state after permission is granted, check the client's message or logs for a configuration loading or VPN startup error instead of repeatedly refreshing your browser.

The system proxy status on desktop and the VPN icon on Android mainly indicate that local traffic routing is enabled. The client usually connects to the remote node only when an app makes a request, so quiet logs right after startup don't necessarily indicate a problem. Keep the current node and move on to verification. If you need to stop the test after enabling the system proxy, clear the proxy settings made by the client from the tray and restore your original settings if needed. On Android, return to the home screen and tap Disconnect.

Verify the connection with your browser and logs

Open the browser you confirmed is covered by the proxy and visit a page that can be used for testing. Navigate to it again to make a fresh request, then compare the result with the client logs from the same time. Check three things: whether the browser received new content, whether the client handled the request, and whether routing sent it through a proxy outbound. Cached tabs, offline site content, and background browser requests can make conclusions from any one of these checks unreliable. Reload the page for comparison; there's no need to open several sites during the test.

First, check which route the request took

Choose a destination that's expected to use the proxy under the default rules. If the logs show an outbound tag, check whether the request used the proxy outbound. If they show direct, the request matched a direct route; even if the page loads, that doesn't verify the proxy route. If your current log level doesn't show the outbound, use the source address reported by the server as a secondary check. For example, make a request to the same URL once with the client proxy enabled and once with it disabled. This comparison helps distinguish routes only if the two paths are expected to have different exit addresses. It verifies only the result for that test URL, not that other apps use the proxy.

Troubleshoot based on where the failure occurs

If you don't see the corresponding request, first confirm that the client logs this type of traffic, then check whether the app is sending it through the client: on desktop, check that the system proxy is still enabled and that the browser isn't overriding it; on Android, check that the VPN is running and the browser hasn't been excluded. If the request appears and uses the expected outbound, but then times out connecting to the remote server or shows a handshake error, try another node in the same group and retry the same page. If only one node fails, investigate that node first. If multiple nodes fail at the same stage, check the network and whether the client and configuration are compatible. For a domain resolution error, note the exact message; don't confuse it with a remote handshake failure.

You're done when the test app receives a fresh response and there's evidence that the request used the expected proxy outbound. Keep these verified settings as your baseline. To expand traffic coverage or change routing, change one setting at a time and repeat the same test. If another device isn't connecting, revisit the proxy mode and connection steps on this page. For custom DNS, rule order, or outbound settings, see the Advanced Configuration Guide.