Glossary

VPN and proxy terms: VLESS, Reality, subscription, TUN and more

The words that come up in links, subscriptions and VPN client settings, each explained in a few plain sentences. Terms are grouped by topic, and where a topic has a full guide or tool on this site, the link is under the term.

Protocols12

VLESSvless link, VLESS protocol
VLESS is a lightweight proxy protocol from the V2Ray and Xray family: the client sends a short header with its UUID and the destination, and then data flows as is. It has no encryption of its own, so on the open internet it runs inside TLS or Reality, which encrypt the stream and make it look like a visit to an ordinary site. A server is usually shared as a vless:// link. On a computer Veli runs VLESS on sing-box, or on Xray for links sing-box can't open (xhttp, mKCP, VLESS encryption).Read more: What is VLESS: the protocol and its vless:// link explained
VMessvmess link, V2Ray protocol
VMess is the original protocol of V2Ray, older than VLESS: it encrypts traffic itself and identifies the user by a UUID. It depends on time: if the device clock is more than about 90 seconds off the server's, the connection fails without a clear error. A vmess:// link is usually base64-encoded JSON with the server's settings. Veli reads vmess:// links, and Diagnostics → “Check everything” looks at the system clock along with the network.Read more: VMess vs VLESS: what is the difference and which one to pick
Trojantrojan link, Trojan protocol
Trojan is a proxy protocol that hides inside ordinary HTTPS: the client opens TLS to the server, usually on port 443, and sends a password before its data. A connection without the right password is handed to a real web server, so a probe sees an ordinary site. The server usually needs a domain with a valid certificate. Veli reads trojan:// links; on a computer Trojan over xhttp runs on Xray, the rest on sing-box.Read more: Trojan client
ShadowsocksSS, ss link, Outline key
Shadowsocks is a simple encrypted proxy protocol: the stream between you and the server is encrypted with a shared password, with no visible handshake. Current versions use AEAD ciphers such as chacha20-ietf-poly1305 or the 2022 ones like 2022-blake3-aes-128-gcm. Outline keys are Shadowsocks too. Veli reads ss:// and Outline ssconf:// keys and can install Shadowsocks on your own server, with a separate key for each device.Read more: Shadowsocks client
Hysteria2hy2, Hysteria, hysteria2 link
Hysteria2 is a proxy protocol on top of QUIC (UDP) that looks like HTTP/3 traffic and keeps its speed on lossy links thanks to its own congestion control. It can hide its packets with Salamander obfuscation and jump between server ports (port hopping). Where UDP is blocked, it does not connect. Veli reads hysteria2:// and hy2:// links on a computer and on Android; it does not install Hysteria2 on your own server.Read more: Hysteria2 client
TUICTUIC v5, tuic link
TUIC is a proxy protocol on QUIC, like Hysteria2: it logs in with a UUID and a password and opens new connections with no extra round trips. It suits mobile and lossy networks but needs UDP to get through; the current version is v5. Veli connects tuic:// links on Windows, macOS and Linux; on a phone TUIC does not connect, and the app says so right away.Read more: Hysteria2 or TUIC: two QUIC protocols compared
WireGuardWG, wg-quick, WireGuard config
WireGuard is a modern VPN protocol over UDP with short code, Curve25519 keys and a settings file of [Interface] and [Peer] sections. It is the fastest of the common protocols and is built into Linux, but its handshake has a fixed shape, so DPI recognises it easily. Where WireGuard is blocked, people move to AmneziaWG or to protocols over TLS. Veli opens WireGuard .conf files and can install WireGuard on your own server.Read more: WireGuard client
AmneziaWGAWG, Amnezia WireGuard
AmneziaWG is a WireGuard fork from the Amnezia project that changes how the packets look: junk packets before the handshake (Jc, Jmin, Jmax) and altered headers (S1, S2, H1–H4). To DPI it no longer looks like WireGuard, and the speed stays almost the same. Veli connects AmneziaWG .conf files as they are and installs AmneziaWG on your own server; on a computer it can also add junk packets to a plain WireGuard profile without changing the server.Read more: AmneziaWG client
OpenVPNOVPN, ovpn file
OpenVPN is a long-standing open-source VPN protocol built on TLS, running over UDP or TCP, with its settings in one .ovpn file. Many routers and office networks support it, but it is slower than WireGuard and DPI recognises it easily. Veli opens .ovpn files and installs OpenVPN on your own server; it does not connect on macOS yet, nor on Android.Read more: OpenVPN client
RealityREALITY, VLESS Reality, XTLS Reality
Reality is a security layer in Xray used instead of ordinary TLS: the server borrows the TLS handshake of a real site, so you need neither a domain nor a certificate. The client proves itself with the server's public key (pbk) and a short ID (sid); anyone else is shown the real site. Reality is mostly paired with VLESS and the Vision flow. Veli can install VLESS Reality on your own server and picks the site to borrow from by measuring from the server.Read more: What is Reality in VLESS and Xray
XTLS Visionxtls-rprx-vision, Vision, flow
XTLS Vision is a flow mode of VLESS (flow=xtls-rprx-vision) that hides the telltale pattern of TLS inside TLS: it pads the inner handshake, then passes the inner encrypted data on without encrypting it a second time. It works over TCP with TLS or Reality, and not with mux. Client and server must agree: a link with Vision to a server without it does not connect. The VLESS Reality that Veli installs on your own server uses Vision over TCP.Read more: What is XTLS Vision: the xtls-rprx-vision flow explained
AnyTLS
AnyTLS is a newer proxy protocol that runs inside TLS and tries to blur the TLS-in-TLS pattern that gives proxies away: it reshapes packet sizes by a padding scheme and reuses connections. It is supported by sing-box, so clients built on sing-box can use it.

Transport and TLS14

TLSSSL, TLS 1.3, HTTPS encryption
TLS is the encryption behind every https site: client and server agree on keys in a handshake, and the server proves who it is with a certificate. Many VPN protocols (VLESS, Trojan, VMess) wrap their traffic in TLS, so to the network it looks like an ordinary site. What still shows from outside is the site name (SNI) and the shape of the handshake, which is why uTLS and Reality exist.
SNIServer Name Indication, server name
SNI (Server Name Indication) is the site name the client sends in the clear at the very start of a TLS handshake, so the server knows which certificate to show. Networks read it and block by it, which is why it matters what a VPN link puts in sni=. With Reality the SNI must be the name of the borrowed site, exactly as the server expects it; with a wrong one the server turns you away.
uTLSfingerprint, fp, TLS fingerprint
uTLS is a library that makes a client's TLS handshake look like a real browser's: Chrome, Firefox, Safari and others. Without it a program written in Go shakes hands in its own recognisable way, and DPI can single it out. In links it is the fp= parameter, such as fp=chrome, and Reality needs it. When a link has no fp, Veli uses chrome.Read more: uTLS is required by reality client: what it means and how to fix it
ALPNalpn, h2, http/1.1
ALPN is the part of the TLS handshake where the client lists the application protocols it can speak, such as h2 (HTTP/2), http/1.1 or h3, and the server picks one. In a VPN link it is the alpn= parameter. It has to match the transport: gRPC needs h2, while WebSocket works over http/1.1. A mismatch can break the connection with no clear error.
QUICHTTP/3, UDP 443
QUIC is a transport protocol over UDP with encryption built in; HTTP/3 runs on it. It sets up connections quickly and copes with packet loss better than TCP, so Hysteria2 and TUIC are built on it. The other side of that: where UDP is blocked or throttled, QUIC protocols don't connect at all, and a profile over TCP is needed.
WebSocketWS, ws transport, type=ws
WebSocket is a way to keep a long two-way connection inside ordinary HTTP; as a VPN transport (type=ws) it carries the proxy over a web connection with a path and a host. Its main use is to put a server behind a CDN such as Cloudflare, so the network sees only the CDN's address. It adds some overhead compared with plain TCP and works with neither XTLS Vision nor Reality.
gRPCgrpc transport, serviceName
gRPC is a way for programs to call each other over HTTP/2; as a VPN transport (type=grpc) it carries the proxy inside HTTP/2 streams named by serviceName. Like WebSocket, it passes through a CDN that supports gRPC, and it can also run with Reality. It needs h2 in ALPN.
XHTTPSplitHTTP, splithttp, xhttp transport
XHTTP (formerly SplitHTTP) is an Xray transport that carries the proxy as ordinary HTTP requests, where upload and download can go separately. It works through a CDN, with TLS or with Reality, and its modes (packet-up, stream-up, stream-one, auto) set how the requests are split. Only Xray implements it, so a client on sing-box alone can't open such a link. On a computer Veli runs xhttp links on Xray; on Android Xray is built in.Read more: What is VLESS xhttp: the XHTTP transport, its modes and its link
CDNcontent delivery network, Cloudflare CDN
A CDN is a network of servers that stands in front of websites and serves them from nearby; Cloudflare is the best known. A VPN server can hide behind a CDN with WebSocket, gRPC or xhttp: the network then sees a connection to the CDN, not to your server, and the server's own address is not exposed. A CDN adds latency, and it does not work with Reality, which needs a direct connection to the server.
Muxmultiplexing, mux.cool, smux, h2mux
Mux (multiplexing) packs many connections into one tunnel connection, so the client doesn't do a new handshake for every request. It can make pages open faster where handshakes are slow, but one broken connection takes all the others down with it, and it does not work with XTLS Vision. On a computer Veli turns mux on only when the link asks for it (mux=).
TLS fragmentationfragment, TLS fragment, ClientHello fragmentation
TLS fragmentation splits the first message of a TLS handshake (ClientHello) into small pieces, so DPI that reads the site name from one packet sees only scraps. It helps where a network blocks by SNI, but not against blocking by address. In Veli on a computer it is one switch, Settings → Security → “Fragment the TLS handshake”, off by default; it leaves Reality, Hysteria2 and TUIC alone, since it would break their handshake.Read more: TLS fragmentation (fragment): what it is and when it helps
DPIdeep packet inspection, traffic inspection
DPI (deep packet inspection) is network equipment that looks inside traffic on the fly, not just at addresses: the site name in TLS, the size and timing of packets, the shape of a handshake. By those traits it recognises VPN protocols and blocks or slows them down. That is why Reality, AmneziaWG and XTLS Vision try to look like ordinary traffic.
MTUpacket size, MTU 1420
MTU is the largest packet that crosses the network in one piece: 1500 bytes on ordinary Ethernet, less inside a tunnel because the VPN adds its own headers (WireGuard uses 1420 by default). If the tunnel's MTU is too large, big packets get split or lost: small sites open, while large pages, downloads or video stall. On a computer, Diagnostics in Veli checks MTU along with the network.Read more: Why your VPN is slow and how to speed it up
Port hoppingmport, port range, hop interval
Port hopping means the client keeps switching the server's UDP port within a range, so blocking or throttling one port doesn't stop the connection; Hysteria2 does this. The range is written in the link, as host:443,20000-30000 or as mport=20000-30000, and the server must accept the whole range, usually through a firewall redirect. On a computer Veli reads the range from a hysteria2:// link written either way.

Apps and modes8

ClientVPN client, proxy client, VPN app
A client is the app on your device that connects to a server: v2rayN, v2rayNG, Hiddify, NekoBox, Clash Verge and many others. A client is not a VPN service: it has no servers of its own and needs a link, a subscription or your own server. Veli is a client too, for Windows, macOS, Linux, Android and Android TV.
Corekernel, engine, proxy core
A core is the engine inside a client that actually speaks the protocols: Xray, sing-box or mihomo. The app around it is a shell with buttons, and the core decides which links and features work, so two apps on the same core open the same links. In Veli on a computer the cores are sing-box and Xray, which the app offers to install when a profile needs them; on Android Xray is built in.Read more: Xray or sing-box: what is the difference between the two cores
XrayXray-core, Project X
Xray (Xray-core) is a proxy core from Project X that split off from V2Ray in 2020; VLESS with XTLS Vision, Reality and xhttp were born there. v2rayN, v2rayNG and many other apps run on it. On a computer Veli uses Xray only for links sing-box can't open: VLESS or Trojan over xhttp, mKCP and VLESS encryption. On Android Xray is built into the app.Read more: Xray or sing-box: what is the difference between the two cores
sing-boxsingbox, sing box
sing-box is a universal proxy core written in Go from the SagerNet project: one JSON config, most protocols (VLESS, VMess, Trojan, Shadowsocks, Hysteria2, TUIC, WireGuard) and its own TUN mode. Hiddify, NekoBox and many other apps run on it. On a computer Veli runs most links on sing-box: it holds the virtual adapter and the rules for apps and sites, and the app downloads it when needed and checks the file.Read more: Xray or sing-box: what is the difference between the two cores
TUN modeTUN, virtual adapter, tun2socks
TUN mode is when a client creates a virtual network adapter and takes the traffic of the whole system through it, not only of apps that follow proxy settings. Games, terminals and programs with their own network code go into the tunnel too. On a computer it needs administrator rights. Veli works this way: it brings up a virtual adapter for the whole system and doesn't set a system proxy.Read more: TUN mode vs system proxy: what's the difference and which to use
System proxyproxy settings, HTTP proxy, SOCKS5
A system proxy is the setting in the operating system that tells programs to send web traffic to a local address such as 127.0.0.1:10808, where the client listens. Browsers follow it, but many programs, games and terminals ignore it and go direct. If the client crashes and leaves the setting on, pages stop loading with errors like ERR_PROXY_CONNECTION_FAILED. Veli doesn't set a system proxy: it takes traffic through a virtual adapter.Read more: ERR_TUNNEL_CONNECTION_FAILED and ERR_PROXY_CONNECTION_FAILED: find and clear a dead proxy
Split tunnelingsplit tunnel, per-app VPN, routing rules
Split tunneling means choosing what goes through the VPN and what goes direct: a bank or local sites past the tunnel, or only one service through it. Rules can be by app, by site or by IP address. In Veli it is the “Apps and sites” screen with two modes, “Everything through the VPN except…” and “Through the VPN only…”; on a computer, rules on WireGuard, AmneziaWG and OpenVPN profiles take IP addresses only.Read more: Split tunneling on Windows and macOS
Kill switchnetwork lock, internet kill switch
A kill switch blocks the internet outside the tunnel while the VPN is on or reconnecting, so nothing goes out over your real connection if the tunnel drops. Without it, apps quietly carry on over the ordinary network until the VPN comes back. In Veli on a computer it is in Settings → Security and is off by default; once turned on, it holds firewall rules while the VPN is on or reconnecting.Read more: Kill switch: what it is and why you need it

Leaks and DNS6

DNSDNS server, resolver, name server
DNS is the service that turns a site's name into its IP address; every visit starts with such a lookup. Whoever answers the lookups sees which sites you open, so with a VPN they should go through the tunnel too. Well-known public resolvers are 1.1.1.1 (Cloudflare), 8.8.8.8 (Google) and 9.9.9.9 (Quad9). On a computer Veli uses the profile's DNS by default, and in Settings you can turn on a filter or your own resolver, DoH and DoT included.
DNS leakDNS leak test
A DNS leak is when the VPN is on but name lookups still go to your provider's DNS outside the tunnel: the provider then sees which sites you open, even though the traffic itself is encrypted. A DNS leak test shows which DNS servers answer for you; if they belong to your provider, there is a leak. In Veli, Diagnostics → Privacy shows the DNS servers sites see and says “There is a leak” when something goes past the tunnel.Read more: How to check for a DNS leak
IPv6 leakIPv6 VPN leak
An IPv6 leak is when the VPN carries only IPv4 while the network also has IPv6: sites that support IPv6 see your real address past the tunnel. The fix is a profile that carries IPv6 through the tunnel too, or turning IPv6 off in the system. In Veli, Diagnostics → Privacy shows the IPv4 and IPv6 addresses sites see and says “There is a leak”.Read more: IPv6 leak through a VPN
WebRTC leakWebRTC IP leak, STUN leak
A WebRTC leak is when a browser, while setting up a call or a peer-to-peer connection, gives a site your real IP address through STUN requests that go past the proxy. It happens mostly when only the browser goes through a proxy, and much less with a VPN that takes the whole system. On a computer Veli takes all traffic through a virtual adapter, so the browser's STUN requests go into the tunnel too, unless split tunneling sends the browser direct.Read more: WebRTC leak test: which IP your browser gives away
DoHDNS over HTTPS, DoT, DNS over TLS, encrypted DNS
DoH (DNS over HTTPS) sends name lookups inside ordinary HTTPS on port 443, so the provider can neither read nor change them; DoT (DNS over TLS) does the same on its own port, 853. Encrypted DNS hides which names you look up, but not the addresses you then connect to. In Veli on a computer, Settings can set your own resolver, DoH and DoT included.
Private DNSAndroid Private DNS, DNS over TLS on Android
Private DNS is an Android setting (Android 9 and newer) that sends the phone's name lookups over DNS over TLS: Off, Automatic, or a provider's hostname such as dns.google. With a hostname set, the phone asks that server instead of the one the VPN gives, and if that server can't be reached through the VPN, apps look connected but sites don't open by name. To check, set Private DNS to Automatic or Off in the phone's settings.Read more: VPN connected on Android, but no internet: check Private DNS

Your own server5

VPSVDS, virtual server, cloud server
A VPS (virtual private server, also called VDS) is a virtual machine rented from a hosting company by the month: your own system with an IP address and root access. For a VPN the cheapest plan is enough; what matters is the country, KVM virtualisation (on OpenVZ and LXC the host has to turn TUN on) and an address your network doesn't block. The Veli app installs a VPN on such a server over SSH.Read more: What VPS to choose for a VPN
Own VPN serverself-hosted VPN, personal VPN server, your own server
Your own VPN server is a rented VPS on which you install the VPN yourself: the server's address is used only by you and the people you give access to, not by thousands of users of a service. All it takes is a cheap monthly plan and a few minutes. In Veli it is Profiles → Add → “Your own server”: the app logs in over SSH and installs Veli, VLESS Reality, AmneziaWG, WireGuard, Shadowsocks or OpenVPN.Read more: How to set up your own VPN server
Panel3x-ui, Marzban, Remnawave, x-ui, VPN panel
A panel is a web admin page for a VPN server: users, traffic limits, terms and a subscription link for each user. Well-known panels for Xray are 3x-ui (one server), Marzban and Remnawave (several servers and nodes). Services built on panels hand out subscriptions as link lists, base64, Clash or Xray JSON. Veli reads subscriptions from Marzban, 3x-ui and Remnawave as they are.Read more: Marzban, 3x-ui or Remnawave subscription: how to add it to a VPN client
Reality targetdest, target, donor site, serverNames
The Reality target (dest or target in the server config) is the real site whose TLS handshake the Reality server borrows; its name goes into serverNames on the server and into sni in the link. A good target answers TLS 1.3 with X25519 and HTTP/2, isn't blocked on your network and sits close to the server, since the server contacts it on every new connection. When Veli installs Reality, it measures six candidate sites from the server and picks one of them.Read more: Reality target and SNI: how to choose the site to hide behind
AllowedIPsWireGuard AllowedIPs, 0.0.0.0/0
AllowedIPs is the line in the [Peer] section of a WireGuard config that says which addresses go into the tunnel: 0.0.0.0/0, ::/0 means everything, a list of networks means only those. On the server the same line names the address each client has inside the tunnel. To send everything except your local network through the VPN, AllowedIPs has to list all the other ranges, which is why people use calculators for it.Read more: WireGuard AllowedIPs calculator