Getting Started / First Connection

Setup guide for v2rayN and v2rayNG

Import a subscription, choose a proxy mode, connect to a node, then check how requests are routed in the app you actually use.

Before you begin, install the right client, get a working subscription URL, and choose an app to test. For the initial setup, use one subscription group, one node, and one app. URLs may contain access tokens, so paste them directly into the client and never share them in screenshots or logs.

01 · Import

Import a Subscription

First, distinguish a subscription URL from a single share link. A subscription URL points to a set of configurations; after saving it, you must update the subscription to fetch the node list. Single links beginning with vmess://, vless://, or trojan:// should be imported through the client’s clipboard import option, not entered in the subscription URL field. If you only have a QR code, check whether it contains one configuration or a subscription, then use the scan option in your client.

v2rayN for Desktop

Open “Subscription Group” in the main window, choose “Subscription Group Settings,” and add a group. The remark is just a label to help you identify it in the list, so use any name that makes sense to you. Paste the complete subscription URL into the URL field, keeping any parameters after the question mark. Don’t include surrounding explanatory text. Save it, return to the main window, select the new group, then choose “Update Current Subscription” from the “Subscription Group” menu. You should see node entries under the group—not just a new group name at the top.

v2rayNG for Android

Open the side menu on the main screen and select “Subscription Group Settings.” Tap Add, enter a remark and the subscription URL, then save. Return to the configuration list and choose “Update Subscription” from the menu in the upper-right corner. If the list is filtered by group, select the group you just saved to check the results. You can also switch to all configurations to see whether the entries were imported but hidden by the filter. Once you see the node names and protocol types, select a node from the new group for your first test.

If the list is still empty after updating, check whether the client reports a fetch failure or says the fetch succeeded but found no usable entries. For a fetch failure, first verify that the URL is complete and that your current network can reach the subscription provider. If the fetch succeeded, confirm that the provider supplies a subscription format supported by the client—not a login page or error message. Don’t add the same URL repeatedly. If the list already contains entries, check which group they belong to so you don’t mistake old nodes for the latest update. Seeing nodes confirms that the import worked; it doesn’t mean they can connect.

02 · Mode

Choose a Proxy Mode

Proxy mode determines which apps send requests to the client; routing rules determine which outbound route those requests use. Check these separately: a browser might not use the system proxy, or it might use it while a direct-routing rule applies to the site you’re visiting. For your first setup, make sure one app uses the proxy as expected before changing all your rules or routing every app through it.

Start with the System Proxy on Desktop

For your first test, choose a browser that uses the system proxy. Right-click the v2rayN tray icon and find the system proxy menu; look for an option such as “Automatically configure system proxy.” Don’t enable TUN at the same time or configure a separate proxy address in the browser. If the browser already has a proxy extension or manual settings, note the original configuration and make sure it won’t override the system proxy during the test. If a desktop app ignores the system proxy, that doesn’t mean the client failed to connect. Isolate the issue with a test browser first, then decide whether to configure that app separately or use TUN.

Check App Coverage on Android

In v2rayNG settings, check whether “Per-app proxy” is enabled. If there’s no dedicated app selection setting, leave the defaults for your first test. If you’ve already configured an app list, check both the selected apps and the list mode: the list may include only selected apps or exclude them. Don’t assume the browser will use the client just because its checkbox is checked. Once you’ve confirmed app coverage, return to the main screen and keep the node you selected; you’ll connect in the next step.

Finally, check the active routing scheme. If your rules are supposed to route the test destination directly, it’s normal for the page to load without changing your public IP. Choose a destination that your rules send through the proxy instead of rewriting your entire routing setup just to test it. If you can’t tell how the rules work, there’s no need to inspect every configuration detail; compare request times with the logs during the verification step. For a comparison of the system proxy, TUN, and routing schemes, see the full documentation.

03 · Connect

Connect to a Node

Before connecting, check the current node on the main screen. Updating a subscription changes the configuration list; it doesn’t necessarily make the newly added node active. Choose one node for your first test, and don’t update the whole group while testing. That way, if something goes wrong, you’ll know which action the logs refer to. If another client is already handling proxy traffic on your device, check whether it controls the system proxy or VPN before deciding whether to disconnect it temporarily.

Set the Active Server in v2rayN

Return to the group you just imported, right-click a node, and select “Set as active server” or the equivalent option. Selecting a row doesn’t activate it—check which node the interface marks as active. Then open the tray menu and select “Automatically configure system proxy.” Check the status or logs in the main window after startup. If switching nodes triggers an error such as a core startup failure or port conflict, note the first specific error. Setting the system proxy alone doesn’t mean the local proxy service is running properly.

Connect in v2rayNG

Select the node you want to test from the configuration list, then tap Connect on the main screen. The first time you connect, Android usually asks to set up a system VPN. Make sure the request comes from the client you just opened, then approve it as prompted. Return to the app and check that the button or status changes from disconnected to running; the system VPN indicator can also help. If the button immediately reverts, check the client logs or system message, confirm permission was granted, and make sure another VPN service isn’t running before trying again.

A running status means the client has started handling the configured requests; it doesn’t prove the remote node is reachable. Don’t rely on the status icon alone, and don’t immediately change the protocol, routing, and node just because a page won’t load. Keep the current node and mode, then make a new request in the next step. If the client never reaches a running state, resolve the startup error first; there’s no need to compare public IPs yet.

04 · Verify

Verify the Connection

Use the app you chose in step two and, if possible, keep the same network and destination. To compare public IPs, visit a trusted IP lookup page before enabling the proxy and note the result. Then connect as described above and revisit the page in the same browser. For a desktop comparison, clear the system proxy setting you enabled for this test; simply exiting the client isn’t enough. On Android, disconnect in the client first. If your IP hasn’t changed after connecting, check whether the destination is routed directly by your rules. Don’t treat the location shown on the page as an exact indicator.

Check a Fresh Request

Don’t rely on a page that was already open before connecting and may still be showing cached content. Close it and open it again. If the browser reuses an existing connection, quit and restart the browser. Note roughly when you make the request, then look for it in the client’s available log view. A matching request routed through the proxy outbound, along with a normal response in the app, is more useful than a connected icon alone. If the logs show only that the service started, that doesn’t prove app traffic reached the client. Compare public IPs instead, or try a test destination you know should use the proxy.

Troubleshoot One Symptom at a Time

If the test request doesn’t appear in the available access logs, first check whether the app is covered: on desktop, confirm it uses the system proxy; on Android, check what the per-app list includes or excludes. If the request appears but goes direct, find which routing rule matched the destination. If it goes through the proxy outbound but times out or fails its handshake, leave the app and routing settings unchanged and try another node from the same subscription with the same destination. If only one node fails, investigate that node first. If several behave the same way, use the specific error to check your network, system clock, or subscription provider.

Your initial setup is complete once the app is covered as expected and its requests get responses. If this was a temporary test, restore your original system proxy settings before exiting v2rayN. In v2rayNG, disconnect from the main screen; you can keep the imported subscription. If the error keeps recurring, note the client name, the mode you tested, and one error message with any URL parameters removed, then check the FAQ for that symptom. For platform-specific setup such as launch options or TUN, see the full documentation.

Download Clients