First connection · 4 setup steps

v2rayNG Setup Guide

From importing a subscription to testing your connection. If you have a client and subscription URL ready, you can get one connection working in about 10 minutes, then adjust routing as needed.

Before you begin, get a valid subscription URL from a trusted provider and make sure your device has an internet connection. Haven't installed a client yet? Visit the client downloads page first. Once it's installed, come back here and start by importing a subscription.

01 · Subscription groups

Import a subscription

A subscription URL provides a set of node configurations. After adding the URL to your client, update the group to load its nodes into the list. Make sure you have the subscription link provided by the service, not a management page URL or a share link for a single node. If you've used this client before, create a separate group for the new URL. That makes it easier to distinguish old nodes and lets you keep your existing settings while testing.

v2rayNG: Add a group and update the subscription

Open the menu in the top-left corner of the main screen and select “Subscription group settings,” then tap “+” in the top-right corner. Enter a recognizable name in the remarks field and paste the complete subscription URL into the address field. Save, then return to the main screen. If the interface has group tabs, switch to the one you just created. Open the menu in the top-right corner and select “Update current group subscription” or the equivalent update command. When the update finishes, nodes should appear in the group.

v2rayN: Update a selected group on desktop

Open group settings from the “Subscription groups” menu in the main window. Add an entry, enter a name and subscription URL, then save. Return to the server list, select the new group, and update it from the subscription menu. If your old proxy is no longer working but your current network can reach the subscription service directly, choose to update without a proxy. If the provider specifies another access method, follow its instructions using an available connection; there's no need to keep switching all your system settings.

If the list is still empty after updating, check for client errors, then confirm that the right group is selected, the URL is complete, and the subscription is still valid. Some clients keep nodes from the previous update, so old entries don't prove that this update succeeded. If you see an error about the URL or response format, copy the link for your client again from the provider's site. Don't remove anything after the question mark. See Subscriptions and nodes in the glossary to learn how these two configuration options differ.

02 · Traffic entry

Choose a proxy mode

Once nodes appear, decide how app requests will reach the client before connecting. System proxy and Android VPN mode determine which requests enter the client; routing rules determine whether those requests are proxied or go direct. Both can affect the result, but they're separate settings. For the first setup, choose one traffic interception method and keep the default routing rules. That makes it easier to identify where things went wrong if the test fails.

v2rayNG: Start with VPN mode

Open Settings from the side menu. If your version has a service mode option, make sure VPN mode is selected; some versions use this mode when you connect. Leave “Per-app proxy” disabled for now, so your test browser or target app isn't excluded from the VPN. Check whether another VPN is already running. If it's a work or device-management profile, find out whether you can switch before testing; don't delete an existing configuration just to run this test.

v2rayN: Start with the system proxy

Find “Automatically configure system proxy” in the system proxy options at the bottom of the main window or in the client’s tray menu. This sends requests from apps that follow system proxy settings to the client; it doesn't mean every desktop app will use it automatically. For the first test, use a browser that follows the system proxy and leave TUN disabled. If your desktop already has a work or manually configured proxy, note its settings and restore them after testing.

Don't switch to global routing just because one site still connects directly. proxy and direct are outbound tags; even after traffic interception is enabled, requests matched by a direct rule can still go direct. If you're just trying to get one app connected, leave the rules as they are to make troubleshooting easier. To tell system proxy, VPN entry, and TUN apart, see the glossary. Once the initial test works, adjust settings in the user manual.

03 · Start the connection

Connect to a node

Return to the group you just updated and select a node that the provider lists as available for your plan and that the client can recognize. A group may contain multiple entries; there's no need to test every node before your first connection. Note which node you selected so you can check its status and troubleshoot the same configuration later. Updating a subscription, selecting a node, and starting a connection are separate actions. Nodes appearing in the list doesn't mean any of them is active.

v2rayNG: Connect and approve the system prompt

Tap a node on the main screen and check that the selection has changed, then tap the round connect button at the bottom. The first time you use VPN mode, Android will show a connection request. Make sure it refers to the v2rayNG app you just opened, then allow the connection. Back on the main screen, the connect button should change state, and Android may show a VPN icon or notification. If you didn't approve the request, selecting a node alone won't start the VPN. Return to the app and tap connect again.

v2rayN: Set an active server and check its status

Right-click the target entry in the server list and select “Set as active server” or the equivalent command. Some versions let you switch servers with a double-click. Check the current server indicator to confirm your selection rather than relying only on the highlighted row. Then check the logs or status area for any immediate startup errors, and make sure the system proxy is still set to the mode you chose. Verify that the client starts and that your browser uses the proxy as expected separately.

If the client stops immediately after starting, keep the first relevant error and don't reinstall it yet. On Android, check the VPN permission and whether another VPN is using the connection. On desktop, if the log says a local listening port is already in use, check whether another instance of the client or another proxy app is running. If the client starts but a particular node can't connect, try another node in the same group while keeping the network and proxy mode unchanged. Change one thing at a time to see what actually affects the result.

04 · Real traffic

Check that the connection works

Keep the current network unchanged and send a new request from the app you want to test. In a browser, open a new tab and visit a familiar site, then load a page you haven't opened before. If you plan to use another app, refresh its content instead. Don't rely only on the connect button, system icon, or a page already on screen. The first two show local connection status; the page may be cached. None of them alone proves that a new request went through the proxy node.

Check that it loads and which exit it uses

A page loading normally confirms that the app request worked, but in split-routing mode it may have gone direct. To check whether the proxy is working, choose an exit-IP lookup site you trust that should be routed through the proxy under your current rules. Compare results before and after connecting on the same device and network, and reload the page both times. If the IP hasn't changed, check whether the test domain matches a direct rule or the browser has its own proxy settings. Don't draw conclusions from a single lookup. The result applies only to that request, not every app or domain.

Return to the relevant step based on what you see

Browser works, but the target app doesn't: On desktop, check whether the app follows the system proxy. On Android, check per-app settings and make sure the target app isn't excluded. If only some domains fail, look for DNS errors or connection timeouts in the logs from the same time. DNS errors and node timeouts have different causes. Before changing DNS, note the failing domain and whether other domains are affected too.

Neither the browser nor the target app loads: Stop the client and check whether the device can still reach familiar sites on its normal network. If the network works, reconnect and try another node on the same network. If the desktop browser still reports a proxy connection error after you stop the client, check that the system proxy has been restored to its original setting. If several nodes fail, consult the user manual with the client name, proxy mode, and a brief description of the error. That's more useful than repeatedly importing the same URL.

Your initial setup is complete when the target app can repeatedly send new requests and get the expected access and exit results. Note the tested node and current mode so you have a baseline when changing rules later. Before you finish, stop the connection from inside the app on Android; on desktop, check that the system proxy is restored before quitting the client. To configure routing, TUN, or per-app rules, keep this verified setup and change one setting at a time, checking real traffic after each change.