First-time setup · Four steps

v2rayN Subscription Setup
and Connection Guide

Follow the steps in order: import, choose a mode, connect, and verify. Start with the default settings, then adjust routing and other options if needed.

Before you begin, have the client and a valid subscription URL from your service provider ready. The client reads configuration and routes connections; installing it does not provide servers to connect to. This site offers client downloads and guides, but does not provide subscription URLs. If you have an account page but no link, find the subscription management section of your service to get one.

If you haven't installed a client yet, choose a package for your operating system and architecture on the client downloads page. After the first launch, leave the default local listening port, DNS, and transport settings unchanged for now. If you already have a configuration, export a backup or note your current system proxy, routing, and active server so you can restore them after testing.

A subscription URL may contain account credentials, so treat it like a password. Copy only the URL itself, without any accompanying instructions, quotation marks, or line breaks. Don't include the full URL in public screenshots, chat logs, or support requests. You don't need to edit the subscription contents manually or understand every protocol setting before following these steps.

Step 01 · Get servers to choose from

Import the subscription and update it

Saving the URL only creates a group. The client reads its server configurations after you update the subscription.

v2rayN: Add a subscription group

Open v2rayN and choose Subscription Group Settings from the Subscription Group menu at the top. Add an entry, give it a recognizable remark such as “Daily subscription,” and paste the full subscription URL into the address field. Leave the other options at their defaults, make sure the group is enabled, then save and close the settings window.

Return to the main screen, open the Subscription Group menu, and update the current group or all subscriptions. Some versions offer separate options to update through or without the proxy. If you don't have a working connection yet, try updating without the proxy first. If the URL is unreachable on your current network, resolve that access issue; repeatedly switching update options won't fix the link.

Wait for the update to finish, then check the client notification or logs. On success, the main screen should show servers in the group. If a different group is selected, switch to the one you just created. For now, confirm that the entries appear; you don't need to run a batch test, and a server's display name alone doesn't indicate connection quality.

v2rayNG: Add a URL in Subscription Settings

Open v2rayNG and go to Subscription Settings from the side or overflow menu. Tap the add button, enter a remark and subscription URL, then save. Return to the main screen and choose the subscription update option from the menu. If the interface has a subscription filter, select the group you added and confirm the server list has refreshed. Don't tap Connect immediately after adding a subscription: until the URL has been fetched, the client doesn't have the full server configuration.

If you received a single share link rather than a subscription URL, use a different import option. Links starting with vmess://, vless://, trojan://, or ss:// are usually imported from the clipboard as individual servers. Subscription URLs are generally managed in Subscription Settings. Don't identify a link by its length, or treat a single share link as a subscription that needs periodic updates.

Continue once at least one server is available to select. The next steps cover how your device sends requests to the client and how the client chooses an outbound route—separate from updating the subscription.

Step 02 · Separate proxy access from routing

Choose a proxy mode and define what it handles

For your first setup, keep the default routing rules and make sure your test browser sends requests to the client.

v2rayN: Enable the system proxy and keep the default routing

In the v2rayN main screen's status area or tray menu, find System Proxy and choose Set system proxy automatically, or the equivalent option in your version. This points the system proxy address to the client's local listening port. Browsers that use the system proxy will then send requests to the client; apps with their own proxy settings or that ignore system settings may not.

Next, find Routing or Routing Settings and keep the client's default rules for now. The system proxy determines whether a request enters the client; routing rules determine whether it connects directly or through the proxy. Neither replaces the other. Switching to global routing won't help if the browser isn't using the proxy, and enabling the system proxy doesn't mean every destination will use the proxy route.

You don't need to enable TUN or change multiple DNS, sniffing, or custom routing options for this setup. Start by testing a browser with the system proxy and default rules to keep troubleshooting simple. If you need more apps to use the client, read the protocol and core reference to understand the relevant settings instead of enabling everything at once.

v2rayNG: Check routing and app coverage

When v2rayNG starts, it uses the system VPN interface to receive traffic from apps included in its scope. This differs from the system proxy used by desktop clients. Open Settings and check the routing mode; for your first setup, keep the default rules. If you've changed per-app proxy settings, make sure your test browser isn't excluded. With a mode such as “Proxy selected apps only,” add the browser to the selected apps.

A VPN indicator in the system status bar doesn't mean every request goes through a remote server. The client still uses routing rules to decide where traffic goes, and some requests may connect directly. For your first test, choose a destination that the current rules clearly send through the proxy. If you're unsure, briefly compare with global routing during the verification step, then restore your usual rules.

At this point, confirm two things: your desktop browser uses the system proxy, or your Android browser is within the client's coverage; and your routing rules are set to a known configuration. Next, select the active server and start the service without changing other settings. This makes connection issues easier to diagnose.

Step 03 · Select a server and connect

Connect to a server and check its status

A running status only means the local service has started; verify remote connectivity in the next step.

v2rayN: Set an active server

Return to the server list and select an imported configuration. Use the context menu to choose Set as active server, or the equivalent option. Some versions let you double-click to switch; check the active marker or current configuration in the status area rather than assuming a selected row is active. The client usually reloads the core configuration after switching. Wait for it to finish, then check the logs for startup errors.

Also make sure the system proxy you enabled in the previous step is still active. Some versions show the system proxy and routing status in the status bar; others require checking the tray menu. If you manually set a different proxy in your browser, switch it back to using the system proxy so the old setting doesn't bypass this setup. If another proxy client is running, stop it from managing the system proxy to prevent both programs from changing the same settings.

If the logs say a local port is in use, check whether the client is running twice or another program is using the same listening port. If the logs report an unsupported configuration field or a core that won't start, don't keep toggling the system proxy. Note the first error directly related to the failure and work through the troubleshooting guide. Many later errors may simply result from the first one.

v2rayNG: Approve the system connection request

On the v2rayNG main screen, select the server you want to use and tap Connect. The first time it starts, the system will show a VPN connection request. Check that the app name is correct, then allow the connection. If the system reports that another VPN service is active, stop that connection first, then return to v2rayNG and connect so you don't confuse the two services' statuses.

After connecting, check the connection status on the main screen and the system notification. These indicate that the client service is running, not that the server has passed a real-world connection test. If the button immediately switches back to Stop, check the client logs. If the service is running but pages won't load, keep the current configuration and move to the next step to distinguish routing, DNS, and remote connection issues. Don't reinstall the client right away.

During your first Android setup, keep the app in the foreground while testing. Check battery optimization and background restrictions only if the connection drops when the screen locks or the service stops after you switch apps. A short foreground test first helps separate background management issues from an unavailable server.

Step 04 · Verify with a real request

Verify the proxy works and restore your usual settings

Check app coverage, the result, and the logs together. A connection icon or a single test isn't enough to confirm that everything works.

First, confirm the browser sends requests to the client

Keep the client running. In a browser you've confirmed is covered by the proxy, open a known working page that loads content online, then visit a destination that the current rules should route through the proxy. Don't rely on an old tab: cached content may still appear without a new request. Refresh the page or open a new private browsing window if needed, and temporarily rule out browser proxy extensions affecting the route.

If the client provides connection records or access logs, check whether the destination appears when you refresh the page and which outbound handled the request. The amount of detail varies by version; a missing entry for an individual visit doesn't necessarily mean the proxy isn't working. If you temporarily increase the log level, restore it after testing. Before sharing logs, hide sensitive details such as subscription URLs, server addresses, and account identifiers.

With split routing, a regular page loading only shows that your network is available; it doesn't prove that the proxy route works. Conversely, a failed page doesn't necessarily mean the client is at fault—the destination, account status, or current route may be the cause. Check the routing decision and logs rather than using one result to judge all traffic.

Compare under the same conditions if needed

If you're unsure whether the default route matches your test destination, note the current routing mode, then briefly switch to global routing that sends requests through the proxy. Use the same browser, destination, and server configuration; don't change DNS, transport, or app coverage at the same time. Global routing only affects traffic that reaches the client—it won't take over apps that bypass it.

After confirming access, restore your usual routing mode and refresh the page to check again. If global routing works but the default mode doesn't, check rule matching and DNS resolution first. If both fail and the logs show a timeout connecting to the remote server, try another authorized server that should work. If that succeeds, the issue is more likely with the original server or its route than with subscription import.

If the page loads but some apps still don't connect, return to Step 2 and check whether they use the system proxy or are included in the client's coverage. If the problem occurs only after the app runs in the background for a while, check whether the system is stopping the service. These issues have different fixes; see Troubleshooting for more guidance. There's no need to discard a configuration you've already verified just to troubleshoot one app.

Restore the proxy settings when you finish testing

When you're done using v2rayN on desktop, choose Clear system proxy and confirm the system proxy has been restored before exiting the client. If you stop the core or force-close the process while the system still points to the stopped local listening port, browsers using that setting may lose access. If this happens, reopen the client and clear the system proxy, or check your system network proxy settings. You don't need to delete the subscription first.

On Android, stop the service with the v2rayNG connection button and confirm the system VPN connection has ended. You can keep the subscription group; next time, you'll usually only need to update the subscription, select a server, and connect. If a routine update replaces server entries, make sure the active entry is still valid. A familiar display name doesn't guarantee the configuration is unchanged.