VPN key: what you've received and how to add it to an app

How do I add a server or configuration to v2rayNG and v2rayN?

In v2rayNG on Android and v2rayN on PC (Windows, Linux, macOS), a server can be added from a link, a QR code or a file, while a list of servers is fetched via subscription.

Updated:

Copy the link, choose import from clipboard, then select the server and connect. If you cannot yet tell the received formats apart, start with the explanation of keys, configuration files and subscriptions.

What should you prepare before importing?

You need the app and access credentials from your provider. A profile (config) stores the connection settings: it is like a card with an address and a door code. The client itself does not issue access.

Download the apps via GitHub Releases from the README of the v2rayNG and v2rayN projects. The guide is based on v2rayNG 2.3.11 and v2rayN 7.25.6 (October 2026). Menu item names may change.

Which import method should you choose?

Choose according to the format you have received. A subscription is an updatable list of servers at a URL, like an address book that the provider keeps up to date without sending you every contact again.

What you havev2rayNG on Androidv2rayN on PCResult
Link in the clipboardImport from ClipboardImport Share Links from clipboardAdding a profile; an https:// string becomes a subscription
QR codeImport from QR codeScan QR code on the screen / in the imageReading the code's contents
Local fileImport from a local fileImport configuration from a fileAdding a compatible config
Subscription URLSubscriptions → Update subscriptionSubscription group settings → subscription updateLoading the list into a group
v2rayng://install-sub?url=…Opening the link in v2rayNGDo not use this methodAdding a subscription

The clients accept vless://, vmess://, ss:// (Shadowsocks), trojan://, hysteria2:// or hy2://, wireguard:// and socks:// links. For HTTP proxies there is the http:// scheme, but v2rayN recognises it from the clipboard as a subscription. Add such a proxy manually.

Both clients support a full JSON config. JSON is text that holds settings in named fields, rather like a form.

However, the file must suit the client component that establishes the connection (the core). A .json extension alone is not enough.

WireGuard and OpenVPN files are covered separately: renaming .ovpn does not turn it into a VLESS config.

How do I add a server in v2rayNG on Android?

For a single link, use import from clipboard.

  1. Copy the received link in full.
  2. Tap the + button in v2rayNG.
  3. Choose "Import from Clipboard".
  4. Select the added server.
  5. Start the connection.
  6. Grant the app the system VPN permission if requested.

For a QR code, choose "Import from QR code" and scan the code with the camera; for a file, "Import from a local file". Individual parameters are entered manually via "Add [VLESS]" or the item for the required protocol.

How do I add a server in v2rayNG on Android?

Watch on YouTube

Add a subscription separately:

  1. Open "Subscriptions".
  2. Add a new subscription entry.
  3. Paste its address into the URL field.
  4. Save the entry.
  5. Run "Update subscription".
  6. Select a server from the fetched list.
  7. Start the connection.

A ready-made v2rayng://install-sub?url=… link, opened from a browser or another app, adds the subscription to v2rayNG.

However, on Android only one VPN connection works at a time within a user or profile. Starting another VPN app will stop the previous connection.

How do I add a server in v2rayN on a computer?

Use import from clipboard for a link and "Subscription Group" for a subscription.

  1. Copy the server link in full.
  2. Choose "Import Share Links from clipboard".
  3. Set the added server as active.
  4. Start the connection.

For a QR code on the screen, choose "Scan QR code on the screen"; for an image, "Scan QR code in the image".

For a subscription, the procedure is as follows:

  1. Open "Subscription Group".
  2. Choose "Subscription group settings".
  3. Create a subscription group.
  4. Paste the address into the URL field.
  5. Save the settings.
  6. Choose "Update subscriptions without proxy".
  7. Set the fetched server as active.
  8. Start the connection.

If a direct update is unavailable, use "Update subscriptions with proxy" while a proxy is already running. This method requires an existing connection.

What happens when a subscription is updated?

The client downloads the content of the URL and replaces the group's server list. A list in base64 is decoded automatically: it is a way of writing text in a different set of characters, like switching an alphabet, without encryption.

Manual edits to profiles inside a group are not preserved after an update: the download will return the provider's entries. Keep your own profiles outside the updatable group.

What happens when a subscription is updated?

What happens when a subscription is updated?The client downloads the content of the URL and replaces the group's server list. A list in base64 is decoded automatically Keep your own profiles outside the updatable group.content of the URLThe clientthe group's serverlist

The client downloads the content of the URL and replaces the group's server list.

A list in base64 is decoded automatically

Keep your own profiles outside the updatable group.

Use a subscription over https://: http:// is rejected by default in v2rayNG and triggers a warning in v2rayN. Request an HTTPS address instead of enabling "Allow insecure HTTP address".

What does each part of a VLESS link mean?

The link contains an address, credentials and connection parameters. This is a fictitious example; it will not work for connecting:

vless://11111111-2222-4333-8444-555555555555@example.com:443?encryption=none&security=tls&sni=example.com&fp=chrome&type=tcp#Example
PartExampleMeaningCan be changed
uuid11111111-2222-4333-8444-555555555555Access identifier, like a personal door codeNo
host:portexample.com:443Server address and port, like a house and entrance numberNo
encryptionnoneDisabling VLESS's own encryptionNo
securitytls or realityThe outer protective layer of the connectionNo
sniexample.comServer name for configuring the secure connectionNo
fpchromeThe browser fingerprint used for the initial TLS message (Client Hello)No
pbkValue from the providerA mandatory REALITY parameter; absent with TLSNo
typetcpTransport, i.e. the way data is transmittedNo
#name#ExampleThe profile's label in the listYes

Here encryption=none does not switch off the outer protection layer: that is set by security=tls. For REALITY, fp and pbk are mandatory. The server expects consistent settings; random values will break the connection.

Change only the label after # yourself, ideally by renaming the profile.

Why does the link or subscription fail to import?

Check that the string is complete and that you are adding it in the right place. A subscription URL must not be entered as a server in "Add [VLESS]".

If, after the checks above, import into v2rayNG still fails, CitadelVPN is an option: v2rayNG is on the service's list of compatible clients, and support assists with setup, including during the trial period. Send the support team the app version and the error text. Trial access lets you check that the import works before you pay; check v2rayN compatibility separately.

Can I paste a whole list of links at once?

Yes, import from clipboard accepts several links, one per line, including a list in base64. A line break must separate the links, not break a single link in the middle.

Can I import a WireGuard configuration into v2rayNG?

Yes, v2rayNG 2.3.11 recognises wireguard:// links and text beginning with [Interface] and containing [Peer]. The file's fields are explained in the WireGuard and OpenVPN guide.

Can v2rayNG subscriptions be updated automatically?

Yes, enable "Automatically update subscriptions" with an interval of at least 15 minutes.

However, on some devices automatic updates do not always run, so refresh an outdated list manually.

How do I check that a server is ready to use?

Select the server, connect, and check the status and the external IP for traffic going through it. "Real delay test" measures the latency to a URL; this figure does not measure download speed.

Import a single link from the clipboard, add a subscription over HTTPS and update its group. Keep your own profiles separate. A successful import confirms that the settings were parsed, but the server's availability is verified by connecting.