Knowledge Base

V2Ray Config: What It Is, What's Inside & How to Import One

A plain-language guide to what a V2Ray config actually is, what it contains, the different formats you'll run into, and how to get yours from RapidPing and import it into a client.

Quick answer:A V2Ray config contains the connection details a client needs to connect to a server — things like the server address, port, user ID, protocol, and security or transport settings. RapidPing gives you this as a single subscription link you paste into a supported client; you don't need to build or edit anything manually.

What Is a V2Ray Config?

A V2Ray config is the information a compatible client needs to connect to a server and apply the required protocol, transport, and security settings — including the server address, port, a unique ID, protocol, and connection settings. You don't need to understand every field to use one; the config exists so your client can handle that automatically once you import it.

In practice, "V2Ray config" is also commonly used as a broad term for configurations used by V2Ray-compatible clients, including clients based on Xray-core, which supports protocols and security layers such as VLESS and REALITY.

What Does a V2Ray Config Contain?

FieldWhat it means
Server / AddressWhere the client connects
PortNetwork port used by the server
UUID / IDIdentifies the user or connection
ProtocolVMess, VLESS, etc.
SecurityTLS, REALITY, etc.
TransportTCP, WebSocket, gRPC, etc.

V2Ray Config Server: Address, Port and UUID

When people look for a "V2Ray config server", they usually mean the server details inside a config. The address is the hostname or IP your client connects to. The port is the network port the server listens on; 443, the standard HTTPS port, is widely used, but the actual value depends on how the server is set up. The UUID is a unique identifier the server uses to recognize your connection, so treat it like a password. With RapidPing you never type these in: importing your subscription link fills them in automatically, and refreshing the subscription picks up any updated server details.

Common Config Formats

V2Ray configs show up in a few shapes depending on where you get them and how they're shared:

TypeWhat it is
VMess / VLESS URIA single server configuration
Subscription URLA URL that provides multiple configurations
JSONFull configuration data, for advanced/manual setup
QR codeA convenient way to transfer or import a configuration

VMess and VLESS are the two protocols you'll see most often: VMess is an older V2Ray protocol, while VLESS is a newer, lightweight protocol commonly used with security options such as TLS or REALITY.

Config Link vs. Subscription URL

These two get mixed up often, so it's worth being precise: a single config link points to exactly one server. A subscription URL is a link your client periodically checks, which returns your full list of available servers. When your client refreshes the subscription, it can pick up updated servers or newly available locations without you having to re-enter each configuration manually.

Single ConfigSubscription
ServersUsually oneMultiple
UpdatesManualCan be refreshed
FormatVMess/VLESS URI, etc.Usually an HTTPS URL
Typical useOne serverMultiple locations

Getting Your RapidPing Config

After you buy a RapidPing plan, you get a single subscription link — delivered by email and also available anytime from your dashboard — that includes configs for both V2Ray and WireGuard servers, since every plan includes both protocols.

Copy the full link exactly as shown — a config or subscription link is long, and even a single missing character will stop it from working.
Ready to get your config?

See plans and pay with crypto. View Pricing

Importing Into a Client

Once you have your subscription link, paste it into your client's "Add Subscription" or "Import" option:

v2rayN (Windows)

  1. Open v2rayN
  2. Go to Subscriptions
  3. Add subscription, paste the URL
  4. Update subscription
  5. Select a server and connect

v2rayNG (Android)

  1. Open the app, tap +
  2. Choose "Import from clipboard"
  3. Paste the URL
  4. Update the subscription
  5. Select a server and connect

Hiddify (all platforms)

  1. Open Hiddify
  2. Tap "New Profile" / Add
  3. Paste the subscription URL
  4. Save and let it sync
  5. Select a server and connect

For platform-specific instructions, see our v2rayN, v2rayNG, NekoRay, and Shadowrocket guides, or the complete V2Ray Setup Guide.

Common Config Mistakes

Copying only part of the link
Long subscription URLs are easy to truncate when copying manually — copy the full string.
Using an outdated client
Older client versions sometimes can't parse newer protocol or security settings.
Forgetting to refresh
A subscription needs to be refreshed in the client to pick up updated servers.

Keeping Your Config Secure

Your config or subscription link works like a password. Anyone who obtains it may be able to use the servers and data allowance associated with your plan. Don't post it publicly or share screenshots that include it.
Need help importing your config?

Follow our step-by-step V2Ray Setup Guide for your device.

FAQ

Is a V2Ray config the same as a subscription link?

Not exactly. A single config (like a VMess or VLESS link) points to one server. A subscription link is a URL that returns a list of configs, so your client can update or switch servers automatically without you re-entering anything.

What's the difference between VMess and VLESS?

VMess is V2Ray's original protocol. VLESS is a newer, lightweight protocol commonly used with security options such as TLS or REALITY. RapidPing handles the required settings in your subscription, so you don't need to configure them manually.

What format does RapidPing use?

RapidPing gives you a subscription URL after purchase, which your client reads to load your available V2Ray servers. You paste this once into a supported client.

Where do I get a V2Ray config?

From your provider. After you buy a RapidPing plan, your subscription link arrives by email and is always available in your dashboard. Be careful with public config lists: you can't know who runs the server or what they do with your traffic.

Can I edit a V2Ray config manually?

Yes, advanced users can edit the underlying JSON directly, but this isn't necessary for RapidPing users, since importing the subscription link sets everything up automatically.

Is it safe to share my config or subscription link?

No. Anyone who obtains your subscription link may be able to use the servers and data allowance associated with your plan — treat it the same way you'd treat login credentials.

Why won't my config work in my client?

This is usually caused by pasting an incomplete link, an outdated client version, or a typo introduced when copying manually. Re-copying the full link from your dashboard and updating your client usually resolves it.

Does a config expire?

Your subscription URL normally stays the same while your plan is active, but the servers it provides stop working once your plan's time or data allowance runs out.

Can I use the same subscription on multiple devices?

You can import the same subscription on as many devices as you like under one RapidPing plan.