On this page
What people mean by “v2ray”
V2Ray is an open proxy platform: its own protocol is VMess, and VLESS was born there too. Xray is a fork of V2Ray that added XTLS Vision and Reality, and sing-box is a separate core that speaks the same protocols. Most clients today run on Xray or sing-box, and they all read the same links.
In everyday speech a “v2ray config” is one such link, and a “v2ray subscription” is an https:// address where a service hands out its whole list of links, usually encoded in base64. The client doesn't have to be called v2ray: what matters is that it understands the protocols in your links and can read a subscription.
What a v2ray config looks like
vmess://— VMess. After the scheme comes base64-encoded JSON, so the link looks like a jumble of letters. Often WebSocket with TLS.vless://— VLESS, usually withsecurity=reality: the connection looks like a visit to a real website.trojan://— Trojan: a password and a server, inside ordinary TLS.ss://— Shadowsocks; Outline keys are the same thing.hysteria2://orhy2://— Hysteria2 on QUIC, good on lossy mobile networks. It often comes in the same subscriptions.https://…— a subscription: the whole server list, which the client refreshes by itself.- The name — the text after # is the server's name in the list. Copy a link whole, and keep it to yourself: whoever has it can use your server.
Why there is no v2rayNG for Windows
v2rayNG is made for Android only. Builds offered as “v2rayNG for PC” are either an Android emulator or somebody else's repackaging, and you need neither: a config is not tied to an app. The same vmess:// or vless:// link works in any client, on any system, that supports its protocol.
So the answer to “v2rayNG for Windows” is a desktop client on Xray or sing-box that can paste links and read subscriptions. One subscription can live on your phone and your computer at once; if the service limits devices, each takes a slot. Check one thing: whether the client opens every protocol in your subscription. Many mix VLESS, VMess, Trojan, Shadowsocks and Hysteria2 servers, and a client that skips some simply shows a shorter list.
Windows: step by step
- 1
Download the installer
Windows 10 or 11 on an x64 processor. An ordinary installer: download it and run it. If Windows says “Windows protected your PC”, that is SmartScreen: click “More info”, then “Run anyway”.
- 2
Paste the config
While there are no profiles, the Add window is already open. Paste a
vmess://orvless://link, several links each on its own line, or the subscription address, and press “Continue”. Copied it beforehand? The window offers to paste it from the clipboard. - 3
Let the app install the module
VLESS, VMess, Trojan and Shadowsocks need the sing-box or Xray module. The first time, the app offers to install it: click “Install”.
- 4
Connect
Click “Connect” in the server's row in Profiles, or press the big button on Home. Autostart is already on, so Windows doesn't ask for permission on every launch. The kill switch is off at first: turn it on on Home or in Settings → Security, and nothing goes past the tunnel if the connection drops.
macOS and Linux: step by step
- 1
Pick the build
macOS 12 Monterey and newer: one universal build for Apple Silicon and Intel. Linux: the .deb package for Ubuntu, Debian and Mint, the AppImage for any supported system: Ubuntu 24.04 and newer, Debian 13, Linux Mint 22, Fedora 40 and newer or Arch, on x64. On Ubuntu 22.04 and Debian 12 the app won't start.
- 2
Open it the first time
If macOS says it cannot verify the app, open System Settings → Privacy & Security, find the line about Veli Client and click “Open Anyway”. This is needed once.
- 3
Install the system component
The tunnel can't come up without it: press the button in the notice at the top of the window and enter the system password. It is installed once.
- 4
Paste the link or subscription
The Add window is open right away: paste and press “Continue”. A config file can be dragged into the window.
- 5
Connect
Click “Connect”. To keep anything from going past the tunnel if the connection drops, turn on the kill switch on Home or in Settings → Security.
Android and Android TV
- 1
Install the APK
Android 8.0 or newer. The phone asks whether apps from this source may be installed: allow it.
- 2
Add the config
Profiles → Add: paste the link or the subscription address and tap “Continue”, or use “Scan a QR code”. A profile from your computer moves over by QR code: on the computer, the profile's menu → “QR code for the phone”.
- 3
Tap the big button
The first time, the system asks for VPN permission. The button turns green and the speed shows under it: the VPN is working.
- 4
On a TV
Install the Android TV build, also from Android 8.0. Choose “From a phone”, point the phone's camera at the code on the screen and paste the link or subscription on the page that opens. The phone must be on the same home network as the TV.
If the config won't connect
- The link got cut — chats often lose the end of a long link. Copy it again, whole, with no spaces or line breaks.
- VMess and the clock — VMess checks the time, and a clock that is off by more than a minute and a half breaks it. Turn on automatic time on the device.
- An encrypted
happ://crypt…link — it can't be read outside its own app. Take the regular subscription address from your account with the service; it starts withhttps://. - It works on one network and not another — that network doesn't pass this server or protocol. Try another server from the subscription: Reality on TCP for strict networks, Hysteria2 for lossy mobile data.
- TLS fragmentation — it helps some TLS profiles but breaks Reality and Hysteria2: if a client applies it to them, turn it off. Veli's switch leaves them alone by itself.
- A JSON config instead of a link — on a computer a sing-box or Xray .json goes in through “Open a file”. On a phone ready-made sing-box and Clash configs don't connect: ask the service for links or a subscription address.