VPN & blocking

Rawline: dozens of bypass transports in a single VPN client

Rawline on sing-box and Xray puts VLESS, VK call tunnels and DNS tunnels in one client. How it works and why it forks Throne.

Rawline is a client built on the sing-box and Xray cores for Android 7.0 and newer (RawlineMobile), as well as Windows, Linux and macOS (RawlineDesktop). It gathers ordinary protocols and non-standard transports in one app, aimed at cases when whitelists are switched on for mobile internet. The project was described on Habr by its author, user ttrroyy.

The reason is simple: the author’s phone ended up with several clients at once. VLESS lived in one app, a tunnel over VK calls in another, a DNS tunnel in a third. Each has its own link format and speed test, and profiles from different apps cannot be chained. In Rawline every method looks like an ordinary profile: import by link or QR, subscriptions, ping tests, chains and split routing by app and domain.

Besides what sing-box and Xray already do (VLESS, VMess, Trojan, Shadowsocks, Hysteria2, TUIC, WireGuard, AmneziaWG, OpenVPN, OpenConnect, SSTP), the client runs transports that usually need separate programs. These include tunnels over VK and MAX calls using WebRTC and TURN (MRTT, qWDTT, CSQTT, WDTT Plus, FreeTurn, olcRTC, OpenFlux), DNS tunnels (DNSTT, VayDNS, SlipStream, MasterDNS, CottenDNS, Soar), WireGuard obfuscation (wg-obfuscator, Phobos, wgobfs), plus S3 Bypass and TrustTunnel.

The network part, RawlineCore, is written in Go. On desktop it runs as a separate process, while on Android it is built through gomobile into a library inside the app. Standard protocols are handled by the core, and the other transports are launched through their authors’ original clients and connected via a local password-protected SOCKS5. The author explains the choice: a rewritten transport starts lagging behind the original with its first update, while the original is fixed by its own author. The APK carries about fifteen third-party binaries for arm64-v8a, armeabi-v7a and x86_64. They are built from pinned commits, and their SHA-256 hashes are recorded in a lock file. The author also states that the client closes security problems common to many VPN clients, including leaks on Android.

The base is Throne on desktop and ThroneForAndroid on the phone, which have a long lineage through SagerNet and NekoBox. The author picked Throne because it holds sing-box and Xray at the same time and builds bridges between them, which chains require. He redesigned the mobile interface completely and rewrote the Android config generator in Kotlin from the desktop C++, so one profile produces the same config on phone and computer. AmneziaWG, which Rawline also supports, powers the free Android client KRAKOBIT covered in the news about Varvara. KRAKOBIT also wrote about an update for networks that block VPNs in the piece on NymVPN v2026.15.

Source: Хабр