r/Telegram • • 7d ago

Open-source module to route only Telegram through WireGuard (no system-wide VPN needed)

Thought some of you dealing with Telegram throttling or blocks might find this useful.

I made WireGuard Plus, an open-source Xposed/LSPatch module that runs a wireguard-go + gVisor + DoH tunnel strictly inside the Telegram app. Your other apps keep using your normal connection, and it works both with root (LSPosed) and without root (LSPatch).

Update (v1.7.2): WireGuard Plus is both an Android LSPosed/LSPatch module and a Windows 10/11 (x64) desktop app using the same userspace wireguard-go + AmneziaWG 1.5 + gVisor stack. It routes only Telegram (auto-detects Telegram Desktop, Portable, AyuGram, Kotatogram, Unigram) through a local loopback SOCKS5 proxy without a Wintun adapter or admin rights. You also no longer need to hunt for or import a .conf file manually: 1-Click Free WARP generates a Cloudflare WARP config and connects in one click.

Source & build instructions: https://github.com/AliHaider704/wgplus

20 Upvotes

2 comments sorted by

1

u/Carbonxcx 7d ago

Huh? Telegram has a proxy feature built in. If you set up your VPN right, you can have the proxy direct traffic through the VPN.

1

u/Fun_File1384 7d ago

Great 👍