rVPN
rVPN is a stealth VPN designed to work in high-censorship environments. It tunnels all traffic over encrypted WebSocket connections that are deliberately disguised to look like ordinary HTTPS. The aim is to make it hard for deep packet inspection (DPI) systems to detect or block.
Key features
Section titled “Key features”Encrypted tunnel The tunnel between your device and your server uses X3DH key agreement followed by the Double Ratchet algorithm. The server decrypts the tunnel to forward your traffic to its destination, as every VPN server must; sites you reach over HTTPS stay encrypted end to end between you and the site. Each session gets a unique key and provides perfect forward secrecy — past traffic stays safe even if keys are later compromised.
DPI-resistant transport Traffic runs over WebSocket + TLS 1.3, with a Chrome-like TLS handshake on macOS and the desktop clients (the iOS and Android apps use a standard TLS 1.3 handshake), and after the handshake, tunnelled packets are padded up to the next 1 KB block so exact sizes don’t show (the X3DH handshake messages themselves are not padded). It is designed to resist passive analysis that tries to tell rVPN apart from ordinary HTTPS API traffic.
Cross-platform Available for macOS, Linux, FreeBSD, iOS, and Android, plus a Windows command-line client in beta. Desktop clients support SOCKS5/HTTP proxy and full-tunnel (TUN) modes. Mobile apps use direct TUN mode with kernel-level packet handling.
Split tunnelling Route only specific apps, domains, or IP ranges through the tunnel. Built-in bypass rules for China IP ranges are included.
How it works
Section titled “How it works”Your device VPN Server Target────────── ────────── ──────App → TUN → [X3DH+Ratchet] → WebSocket/TLS → [relay] → Internet- The client establishes a WebSocket connection over TLS 1.3 to your server
- An X3DH handshake derives a shared secret (no pre-shared passwords)
- All subsequent data is encrypted with the Double Ratchet
- The server relays traffic to the intended destination
Choosing your mode
Section titled “Choosing your mode”rVPN has two operating modes. Choose based on your needs:
Proxy mode
Section titled “Proxy mode”Best for: Desktop users who want app-specific proxying, or users who need granular control over which apps use the VPN.
- Runs a local SOCKS5 proxy at
127.0.0.1:1080and an optional HTTP proxy at127.0.0.1:8118 - Use
HTTP_PROXY/HTTPS_PROXYenvironment variables for system-wide routing, or configure individual apps to use the SOCKS5 proxy - Supports authentication for sharing with other devices
- Works alongside the built-in DNS proxy to prevent DNS leaks
TUN full-tunnel mode
Section titled “TUN full-tunnel mode”Best for: Mobile users, users who want all traffic through the VPN, or users connecting to a remote network.
- Creates a virtual network interface
- Routes all device traffic through the VPN
- On mobile: handled automatically by the OS VPN API
- On desktop: requires root/admin privileges
| Feature | Proxy (SOCKS5 / HTTP) | TUN |
|---|---|---|
| Scope | Per-app | Full device |
| DNS handling | Via DNS proxy | Automatic via DHCP |
| Privilege required | None | Root/admin |
| Mobile support | No | Yes (built-in app) |
| Split tunnel granularity | Per-domain, per-CIDR | Per-domain, per-CIDR, per-country |