TG WS Proxy

Verified safeOpen sourceExclusive
5.0
1 review
691
downloads
7.0
android

AI summary

Local SOCKS5 proxy that routes Telegram traffic through WebSocket connections for potentially faster connectivity. Runs as a foreground service with auto DC detection, connection pooling, and automatic fallback to direct TCP. Requires manual proxy setup in Telegram settings.

Generated by AI. May contain inaccuracies.

About this app

Native Android port of tg-ws-proxy — a local SOCKS5 proxy that speeds up Telegram by routing traffic through WebSocket connections. Data stays end-to-end encrypted (MTProto), no third-party servers involved.

How it works Telegram Android → SOCKS5 (127.0.0.1:1080) → TG WS Proxy → WSS → Telegram DC The app runs a local SOCKS5 proxy server on 127.0.0.1:1080 Intercepts connections to Telegram IP addresses Extracts the DC ID from the MTProto obfuscation init packet Establishes a WebSocket (TLS) connection to the corresponding DC via Telegram domains Falls back to direct TCP automatically if WebSocket is unavailable (302 redirect) Non-Telegram traffic is passed through directly.

Features Foreground service — keeps running reliably in the background with a persistent notification WebSocket connection pool — pre-established connections for faster handshakes MTProto message splitting — correctly handles coalesced/split TCP packets Auto DC detection — identifies target datacenter from the init packet, patches DC ID when needed Light & Dark themes — follows system theme by default, or choose manually Start on boot — optional autostart via boot receiver Wake lock — prevents the device from killing the proxy during sleep Copy proxy address / Open in Telegram — one-tap setup Quick start Install the APK from the Releases page Open the app and tap Start Tap Open in Telegram to automatically configure the proxy, or set it up manually: Telegram → Settings → Data and Storage → Proxy → Add Proxy Type: SOCKS5 Server: 127.0.0.1 Port: 1080 Username / Password: leave empty Settings Tap the ⚙️ gear icon in the top bar to access settings:

Setting Default Description Theme System Light, Dark, or follow System SOCKS5 Port 1080 Local proxy listening port DC IPs 2:149.154.167.220, 4:149.154.167.220 Target IP per datacenter (DC:IP format) Pool Size 4 Number of pre-established WebSocket connections per DC Buffer KB 256 Socket send/receive buffer size in KB Start on boot Off Automatically start the proxy service on device boot Settings are applied after tapping Save & Restart.

About this version

Version
1.3.0 (1)
Size
1.08 MB
Requires Android
7.0
Target SDK
24
Architecture
armeabi-v7a, x86, x86_64, arm64-v8a
Downloads
691
Updated
Apr 11, 2026
Package
org.flowseal.tgwsproxy

Similar apps

Ratings & reviews

5.0·1 review
5.0
1 rating
  • 5
    1
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app

Recent reviews

Showing 1 of 1