Telegram WebSocket Proxy is a lightweight networking utility that tunnels Telegram MTProto connections through encrypted WebSocket connections. Written in Rust as a port of Flowseal's Python implementation, it operates as a local bridge between Telegram clients and Telegram data centers. It supports direct WebSocket connections, Cloudflare proxy routes, Cloudflare Workers, and fallback transports. Users can configure listening ports, authentication secrets, and connection endpoints through command-line options. An optional SOCKS5 listener handles supported Telegram traffic. Its statically compiled binaries require minimal memory and work on routers without Python. Deployment options include Docker, OpenWrt, Entware, Windows, Linux, and Android. An Android interface and OpenWrt LuCI integration simplify service management.
Features
- Telegram MTProto traffic tunneling through encrypted WebSocket and TLS connections
- Cloudflare proxy, Cloudflare Workers, upstream MTProto, and direct TCP fallback routing
- Configurable authentication secrets, listening addresses, ports, and Telegram proxy links
- Optional Telegram-specific SOCKS5 listener with configurable data center mappings
- Low-memory Rust implementation with static binaries and OpenWrt LuCI integration
- Windows, Linux, Android, Docker, OpenWrt, and Entware deployment options