TGLock is a lightweight desktop proxy application designed to restore Telegram connectivity on networks that restrict or interfere with its traffic. It creates a local MTProto and SOCKS5 proxy that routes Telegram connections through WebSocket tunnels. Multiple transport routes provide fallback options when particular Telegram endpoints become unavailable. The application can configure Telegram automatically through a one-click connection process. A LAN mode allows other devices on the same network to use its proxy while restricting access to Telegram destinations. Advanced users can configure Cloudflare Workers and operate the service through a standalone command-line executable. Diagnostics display connection statistics, route selection, and failed requests. Built with Rust and Tauri, TGLock supports Windows, macOS, and Linux without requiring a system-wide VPN.
Features
- Telegram MTProto tunneling through WebSocket connections and HTTPS-compatible transport routes
- One-click proxy activation with automatic Telegram configuration and connection initialization
- Multiple fallback routes with connection recovery and optional Cloudflare Worker integration
- Local SOCKS5 and MTProto proxy listeners with configurable ports and authentication secrets
- LAN proxy sharing for Telegram access from smartphones, tablets, and other network devices
- Standalone command-line operation with TOML configuration, connection diagnostics, and rotating logs