First-Time Setup · 4 Steps

v2rayN and v2rayNG Setup Guide

Import a subscription first, then choose a traffic entry point. Once a server is enabled, send a request from an app you use to check that routing and the outbound match your expectations.

Before you begin, make sure you have an accessible subscription link from a source you trust. If you haven't installed a client yet, visit the download center first. If you already have one, go straight to step one.

01 / Subscription Group

Import a Subscription

A subscription link lets the client fetch multiple server configurations at once. It is not a server address to enter for an individual node. Copy the full URL, including any query parameters after the question mark, and make sure it doesn't include quotation marks, line breaks, or explanatory text from a chat message. The group name is just a label to help identify the source. Subscription links may contain access credentials, so hide the URL and its query parameters in screenshots you share for help.

v2rayN: Save the Group, Then Update the List

In the main window, open “Subscription Group” and select “Subscription Group Settings.” Add a group and enter a label and subscription URL. Save, return to the main window, switch to the new group, then open “Subscription Group” and choose the command to update the current subscription. Depending on the menu, update options may differ based on whether a proxy is used. If this is your first setup and you don't have a working proxy yet, use the “Update without proxy” option if your current network can access the subscription URL directly. If you already have other groups, update only the new one; there is no need to fetch every subscription again.

Seeing the group name after saving only confirms that the subscription URL was added. Wait for the update to finish, then check that the group's server list contains configurations. If the list is still empty, clear any search filters and check the selected tab. Then review the log at the bottom to see whether the download failed or the content downloaded but could not be parsed. For a download failure, check the URL, network, and subscription expiry. For a parsing error, make sure you copied a subscription URL, not a login or subscription management page URL.

v2rayNG: Update the Subscription, Then Check the Configuration List

Open the menu in the top-left corner and go to “Subscription Group Settings.” Tap the plus button to add a group, enter a label and subscription URL, then tap the save icon. Back on the main screen, switch to the new group and choose “Update Subscription” from the top-right menu. If your version offers “Update Current Group Subscription,” select that option. Menu locations and wording vary slightly between versions. To confirm the update finished, check for entries from the new group in the configuration list rather than relying on a notification that disappears quickly.

For now, identify one configuration and note its group name and server label. Two entries with the same label aren't necessarily the same configuration. If you're unsure, open the edit screen to check the protocol and server address; you don't need to change any fields. Entries in the list confirm the subscription was imported, not that every server can connect. Use the same configuration for the next step so you can pinpoint any issues during testing.

02 / Traffic Entry Point

Choose a Proxy Mode

First decide which apps need a proxy, then choose how their requests reach the client. The proxy mode determines how traffic enters the client; routing rules determine which outbound handles it afterward. To test a browser connection, you don't need to switch to global routing or change DNS and routing rules at the same time. Keep your current routing settings so it's easier to understand the connection results in the next step.

v2rayN: Start with the System Proxy for Browsers

Find the v2rayN icon in the system tray and right-click it to view the system proxy options. Browsers usually use the system proxy, so for your first test, choose “Automatically configure system proxy.” Enable it after setting the active server in the next step. If your browser has a proxy extension or its own proxy settings, make sure they aren't overriding the system settings. The system proxy doesn't force every app to use it, so if it works in your browser but not another app, that doesn't necessarily mean the server is down.

If the target app lets you enter a proxy manually, use the local listening address and port shown in the client, and choose the correct HTTP or SOCKS type. Consider “Enable TUN” in the main window only if the app doesn't use the system proxy, has no proxy settings of its own, and you need to route its requests. TUN routes traffic through a virtual network adapter, may require administrator privileges, and can conflict with an existing VPN or virtual adapter. For your first test, change only one traffic entry point. For more advanced options, see the advanced guide.

v2rayNG: Keep the Default App Coverage for Now

On Android, app traffic usually reaches the client through the system VPN, so there's no need to copy the desktop tray settings. If the client offers modes such as VPN and proxy-only, choose VPN for your first test. Leave “Per-app proxy” unchanged for now. If an app list was configured previously, check whether it includes only selected apps or excludes them, then make sure your test browser is covered. A connected system VPN doesn't mean every app is included.

If another VPN app is already running, check whether you can disconnect it, then stop its connection and test again. If device management policies restrict VPN access, don't keep retrying authorization; ask your device administrator whether another VPN service is allowed. Once you've chosen an entry point, return to the server list and connect using the configuration you noted in the previous step.

03 / Active Configuration

Enable a Server and Connect

Make sure you're using the configuration you just checked, then enable the traffic entry point. A highlighted row only means it's selected; it may not be the active configuration. Note the approximate time when you connect. Later, check only logs from after this change, not entries left over from a subscription update or a previous server.

v2rayN: Set the Active Server, Then Enable the Entry Point

Right-click the target entry in the server list and choose “Set as active server.” Then check that the current configuration or active indicator in the main window matches that server. To test the system proxy, choose “Automatically configure system proxy” from the tray menu. If you're testing TUN specifically, enable “Enable TUN” in the main window and follow any permission prompts. If you're using an app's own proxy settings, check that its address and port match the client's current listening configuration.

Check the log at the bottom of the main window for new errors. If the client reports that a local port is already in use, first check whether the client is running twice or another app is using that port. Once you've identified what's using it, either close the conflicting app or change the local port. If you change the port, update any app where you entered the proxy address manually. If the core fails to start, fix that before trying another server.

v2rayNG: Select a Configuration and Start the VPN

Tap the configuration you want on the main screen and make sure the selection indicator is on the right entry. Then tap Connect. The system may ask you to approve a VPN connection the first time you connect. Confirm that the request comes from the client you're using, then wait for the button to show that it's running. If you denied permission, tap Connect again to send a new request, even if the configuration is still selected.

If the button changes briefly and then resets, open the client log and check the first error after this connection attempt. Find out whether the failure happened during permission approval, service startup, or configuration loading. Don't keep tapping Connect or switch between several servers at once. On desktop, the active server indicator shows which configuration is selected; on Android, the VPN status shows whether the service started. Neither confirms that the server is reachable or that requests are going through the proxy—that's what you'll check next.

04 / Requests and Logs

Check That the Proxy Works

Send a new request from the app you actually plan to use; don't rely only on the client's latency test. For example, open a familiar page that you can currently access in your browser and note the time. Avoid tabs that have already loaded or content in the offline cache. To test proxy egress, choose a destination that should use the proxy under your current routing rules. Successfully opening a site that should connect directly doesn't prove proxy egress is working.

Match the Request, Routing Rule, and Outbound

Return to the client and check for new logs that match the request time. If the current log level shows the destination or outbound tag, check both the destination domain and the tag. For example, if the configuration uses outboundTag to route a type of request to direct, a direct connection is expected. You can only use the result to verify the selected server after confirming that the destination should match a proxy outbound. If the logs record errors only, don't assume that a missing request entry means traffic never reached the client. If needed, temporarily enable a log level that shows requests, then restore the original setting when you're done.

Change One Thing at a Time When Troubleshooting

If the app's request doesn't reach the client, first check whether the system proxy is still enabled and whether the desktop app has its own proxy settings. On Android, check the VPN status and per-app coverage. If the request reaches the client but uses an unexpected outbound, check the routing mode and rule order first. If the logs show that the request used the expected proxy outbound but then timed out or failed during the handshake, retry with another imported server using the same app, network, and mode. This helps you tell whether the issue is the traffic entry point or a specific server configuration or network path.

Once the page loads and the test request uses the expected outbound, the test is complete. If this was a temporary test, turn off TUN or disable the system proxy on desktop, depending on which mode you used; on Android, tap Disconnect. If you had your own system proxy settings before the test, restore them. Still can't identify the problem? Check the FAQs with the client name, proxy mode, and sanitized error log. For field definitions, see the glossary. For multiple subscriptions or custom outbounds, continue to the advanced guide.