Setup guide

V2Ray Setup Guide: How to Use V2Ray on iPhone, Android, Windows & Mac

Install a client app, import your config link, and tap connect. Choose your device to jump straight to the steps.

Choose your device

Don’t have a config yet? See plans

Written and maintained by RapidPingLast updated: November 8, 2026

🌐 This page is also available in:فارسیFrançais简体中文繁體中文
Quick answer: To set up V2Ray, install a V2Ray client for your device (Shadowrocket on iPhone, v2rayNG on Android, v2rayN on Windows, V2rayU on Mac), copy your vless:// or vmess:// link, import it from the clipboard, and switch the connection on.

What Is V2Ray, and How Does Setup Work?

V2Ray is an open-source proxy platform that sends your traffic through an encrypted connection to a remote server. You don’t install V2Ray on its own: a client app includes it and gives you simple buttons. For the background, see the V2Ray config guide.

1

Install a client app

Pick the one for your device below and download it from the official page.

2

Import your config link

A vless:// or vmess:// link, or a QR code. RapidPing customers get theirs after payment.

See plans →
3

Tap connect

Set your device date and time to automatic first, since a wrong clock can stop a connection.

iPhone · Shadowrocket

Set Up V2Ray on iPhone

Steps shown for Shadowrocket. Streisand, V2Box, and FoXray follow almost the same path. The whole thing takes about two minutes.

  1. Install the app from the App Store.
  2. Copy your V2Ray config link.
  3. Open the app and confirm the offer to add the copied link. If no offer appears, tap + and choose Clipboard.
  4. Tap the new server, then switch the connection on.
  5. When iOS asks to add a VPN configuration, tap Allow.
9:41VPNServersConnectedRapidPingRRapidPingV2RayConnectionLink copiedvless://…Server addedRapidPingVPN allowedPermission granted
Connected! The VPN icon appears in your status bar while the connection is active. To double-check, open ipinfo.io and confirm that your public IP has changed and its location looks consistent with your server.
Android · v2rayNG

Set Up V2Ray on Android

Steps shown for v2rayNG. It takes about two minutes.

  1. Install and open v2rayNG.
  2. Copy your V2Ray config link.
  3. Tap + in the top-right corner and choose Import config from Clipboard.
  4. Tap the new profile, then tap the Connect button at the bottom right.
  5. When Android asks to set up a VPN connection, tap Allow.
9:41ServersConnectedRapidPing · V2RayRapidPingvless · 443Config addedFrom clipboardTap ConnectOne tapVPN allowedAndroid prompt
Connected! The VPN icon appears in your status bar while the connection is active. To double-check, open ipinfo.io and confirm that your public IP has changed and its location looks consistent with your server.
Windows · v2rayN

Set Up V2Ray on Windows

Steps shown for v2rayN. See also VPN for Windows.

  1. Extract the download and run v2rayN.exe.
  2. Copy your V2Ray config link.
  3. In v2rayN, press Ctrl+V to import it.
  4. Select the new server and press Enter, then set System Proxy to Set System Proxy at the bottom.
ClientRapidPingserver:443ActiveSystem proxySet System ProxyCtrl+VConnectedServer activeSystem proxyTurned on
Want all system traffic covered? Turn on TUN Mode, so it is not limited to your browser. To double-check, open ipinfo.io and confirm that your public IP has changed and its location looks consistent with your server.
Mac · V2rayU

Set Up V2Ray on Mac

Steps shown for V2rayU. See also VPN for macOS.

  1. Download V2rayU from its official project page and open it.
  2. Copy your V2Ray config link.
  3. Click the V2rayU menu-bar icon and choose Import from clipboard.
  4. Select the new server and turn the connection on. Approve any macOS permission prompts.

Prefer Sing-box or v2rayA? The menus differ: open Profiles and add a profile with your link.

VImport from clipboardConnectedConfig importedFrom clipboardConnectedMenu-bar app
How to confirm: open ipinfo.io and check that your public IP has changed and its location looks consistent with your server.

Check That It Works

  1. Open ipinfo.io before you connect and note your public IP.
  2. Connect V2Ray in your app.
  3. Refresh the page. Your public IP should now be different, and its location should look consistent with your server.
  4. Open an ordinary HTTPS site, such as a news site, and make sure it loads normally.
Keep in mind: A changed IP shows the connection is up, but it does not prove all traffic goes through the tunnel. On mobile, VPN mode covers the whole device. On Windows, System Proxy only covers apps that follow the system proxy, so turn on TUN Mode for broader coverage.

If Something Doesn’t Work

Try this first:
  1. Disconnect and reconnect.
  2. Set your device date and time to automatic.
  3. Copy your config link again and re-import it.

Connected, but sites won’t load

  • Turn on TUN Mode if your app has it.
  • Try a public DNS such as 1.1.1.1 or 8.8.8.8.
  • Restart your browser.

Works on Wi-Fi, not on mobile data

  • Retry the same config without changes.
  • Try another mobile network if you can.
  • Keep the transport and port as in your config, and ask support for an alternative config if needed.

Config won’t import

  • Copy the whole link again: it starts with vless:// and has no extra spaces.
  • Check that your app supports VLESS and Xray.
  • Try the QR code instead.

Connected, but your IP hasn’t changed

  • Windows: set System Proxy to Set System Proxy, or turn on TUN Mode.
  • Mobile: make sure your browser isn’t set to bypass VPN apps.
  • Disconnect and reconnect.

Get Connected with RapidPing

Go to the Pricing page, choose a plan, and receive your configs after payment. Follow the setup steps above to connect in minutes.

  • V2Ray and WireGuard included in every plan
  • Connect as many devices as you need
  • Pay securely with cryptocurrency
View Pricing

Need a hand? Contact the RapidPing team and include your device and app name. Still seeing errors? VPN Not Connecting goes deeper.

Frequently Asked Questions

How do I use V2Ray?

Install a client app for your device, import your config link or QR code, select the server, and turn the connection on. The device sections above show every step.

Where do I get a V2Ray config?

Go to the Pricing page on RapidPing. After payment, your configs are provided to you.

Is V2Ray a VPN?

Strictly speaking it is a proxy framework. With a client app in TUN or VPN mode, it routes all device traffic and works much like a VPN.

Which V2Ray app should I use?

iPhone: Shadowrocket (a one-time purchase), or the free Streisand, V2Box, and FoXray. Android: v2rayNG or Hiddify. Windows: v2rayN. Mac: V2rayU, or Sing-box and v2rayA for more control. v2rayN has no iPhone version.

Why does V2Ray connect but show no internet?

Usually the system proxy or TUN Mode is off, the DNS resolver is unreachable, or a firewall is blocking the proxy port.

Does RapidPing have its own app?

No. You import your RapidPing config into a third-party client, such as the ones above.