Usage Guide / First-Time Setup
V2Ray Setup Guide
From importing a subscription to checking your connection, start with one node and one app. Once the basics work, adjust routing or expand which apps use the proxy.
01Subscriptions and nodes
Import a subscription and check the node list
Before you start, install a client and get a subscription URL that works with it. A subscription URL lets the client fetch a set of nodes; it isn’t a provider’s sign-in page or a link for sharing a single node. Keep any query parameters at the end of the URL when copying it. Don’t post the copied URL in public screenshots, group chats, or online decoding tools. For your first setup, create just one group. Add other subscriptions after the process works, so it’s easier to identify which URL caused an update failure.
v2rayN for desktop: Add a group and update the subscription
Open Subscription Groups at the top of the main window, then choose Subscription Group Settings and select Add. Enter a label you’ll recognize, paste the full URL into the address field, and save. Return to the main window, switch to the new group, open the Subscription Groups menu, and update the current subscription. If the menu offers both update via proxy and update without proxy, and you don’t have a working proxy yet, try updating without proxy first. If the URL can’t be reached, check your network and the provider’s access requirements rather than repeatedly changing node settings.
v2rayNG for Android: Save the URL, then update from the list
Open the menu in the upper-left corner of the main screen, go to Subscription Group Settings, and tap Add. Enter a label and the full URL, then use the page’s Save button to exit; pressing Back may not save your changes. Return to the node list, open the overflow menu in the upper-right corner, and choose Update subscription. If the settings page has an enable switch, make sure the group is enabled before updating. When the update finishes, select that group to check the results. If other nodes are already listed, don’t assume their presence means this update succeeded.
Before continuing: Make sure the new group contains at least one selectable node. Saving a group only stores the URL; updating the subscription sends a request, and nodes appearing in the list only means the client parsed the configuration—not that a connection will work. If the group is empty, first check whether you’re viewing a different group, then see whether the update failed at the request or parsing stage. For a request failure, check the URL’s validity and your network. For a parsing failure, ask the subscription provider whether the returned format is supported by your client. See FAQs for more update issues.
02App routing
Choose a proxy mode and apps to route
The proxy mode determines how an app’s requests reach the client; routing rules determine whether requests go direct or through the proxy once they arrive. Don’t change both layers at once, or it’ll be hard to tell whether an app isn’t reaching the client or its requests aren’t matching the expected route. For your first test, keep the existing routing rules, choose one way to connect apps, and test with an app that uses that method. If several options have similar names, you don’t need to route the entire device just to test the setup.
v2rayN for desktop: Test with a browser using the system proxy
Find the v2rayN icon in the system tray, right-click it, and look for options such as System Proxy and Set System Proxy. For this test, use the system proxy workflow and leave TUN off. You’ll apply the setting after choosing an active server in the next step. Test with a browser that follows the system proxy. If the browser has its own proxy settings or an extension overrides the system settings, check which configuration it actually uses. If the browser works but another tool connects directly, that’s not a contradiction: not every app uses the system proxy.
v2rayNG for Android: Check VPN mode and per-app settings
Open Settings from the side menu. If your version has a mode option, choose VPN mode; in many versions, the VPN starts when you tap Connect on the main screen. If you’ve changed per-app proxy settings, check that the app you’re testing is included. The list may define apps to include or exclude, so check the switch and mode description rather than relying on the checkmarks alone. If another VPN is running on the device, resolve the conflict according to your device’s management requirements before starting this client.
Before continuing: Decide which app to test and how it should connect. There’s no need to change DNS, force all requests through the same exit, or enable another traffic-capture mode on desktop. To route apps that don’t use the system proxy, or to understand rule order, see the routing guide after basic connectivity works. For definitions of system proxy, TUN, and outbound, see the glossary.
03Nodes and connection
Select a node and connect
Return to the group you just updated and choose a node marked as available by your provider and compatible with your client. A highlight or test result in the list doesn’t necessarily mean the node is active. On desktop in particular, selecting a row often just highlights it. Stick with one node while testing. If the connection fails, note the node label and when the error appeared, then review the logs before making another change.
v2rayN for desktop: Set the active server and enable the system proxy
Right-click the node you want in the node list and choose Set as active server, or the equivalent command. Make sure the active marker or status bar shows the expected node, then choose Set System Proxy from the system tray menu. Check the client’s log area for repeated startup failures or port-in-use warnings. Once the system proxy is enabled, apps will try to send requests to the local proxy. If the core hasn’t started properly, the browser may still fail even when the tray shows the proxy as configured.
v2rayNG for Android: Start the service and approve the system prompt
Tap the node you want in the list and make sure it’s selected, then tap Connect on the main screen. The first time you start the VPN, Android usually asks for permission to connect. Check that v2rayNG is the app requesting access, then approve it. Back in the client, check that the Connect button or notification shows it’s running. Android showing an active VPN only means the device-side connection has started; it doesn’t prove the node can forward requests. If the button quickly returns to a disconnected state, check the client message and system permission first, then see whether another VPN is running.
Before continuing: Make sure the correct node is active and the service hasn’t stopped right after starting. If the client offers a connectivity test, use it as an initial check, but keep in mind that its test destination may differ from the sites you use. For startup errors, check the local port, mode, or permissions first. If the service is running but requests time out, check the node. Change one thing at a time. After switching nodes, retest with the same app and destination so you can compare results.
04Requests and exit traffic
Check whether your app’s traffic is using the proxy
Return to the app you chose in step two and make a new network request. In a browser, don’t rely on a page that’s already open; cached content can still display without a new connection. Test a destination you’re authorized to access and that should use the proxy under your current routing rules. A site that’s supposed to go direct can load normally without proving that proxy traffic works. Note when you make the request, then check the client logs for entries from that time.
Confirm the request reached the client, then check the exit
Check the latest entries in the v2rayN main window’s log area or the log view available in your version of v2rayNG. If the log level shows enough detail, look for the destination domain, connection result, and outbound tag corresponding to your test. If the request appears in the logs, it reached the client. If it matches a proxy outbound, routing selected the proxy. A subsequent timeout or handshake failure still means the request wasn’t forwarded successfully. If your version doesn’t show outbound details, compare the app’s result with the connection state before and after the test; there’s no need to keep verbose logging enabled.
To check your public exit IP, use a trusted IP lookup service in the same browser and on the same network, and make sure the lookup request should use the proxy under your rules. If you didn’t record a baseline before connecting, note the result while connected, then clear the system proxy setting on desktop or disconnect the VPN on Android and make a new request to the same address. Don’t switch networks between tests. If the exit IP is unchanged, first check whether the lookup request matched a direct rule; one IP result alone can’t show that all apps are bypassing the proxy.
Choose your next check based on the results
If the request doesn’t appear in the logs, check app routing first: on desktop, see whether the browser uses the system proxy; on Android, check whether the app is excluded. If the request reached the client but went direct, review the matching routing rule. If it selected a proxy outbound but didn’t complete, use the timeout or handshake error to investigate the node. You can also try another node in the same group without changing other settings. When asking for help, share only the error lines needed to explain the issue, and redact subscription URLs, credentials, and destination addresses you don’t need to disclose.
Success criteria: New requests from the app you’re testing use the proxy as expected and receive a response; you can also explain which requests should go direct. When you’re done, clear the system proxy on desktop before closing the client, or tap Disconnect on Android. To configure TUN, manage subscriptions, or troubleshoot more complex connection issues, see the beginner-to-advanced guide. For a specific issue, start with the usage FAQs.