Bypassing network censorship: SOCKS5 proxy via Tor
2020-11-08MODULE: routing_protocol
This protocol details the configuration of a SOCKS5 proxy via the Tor network to bypass network-level restrictions and access Telegram.
Package Installation
Deploy the tor daemon on the host machine.
Arch Linux:
sudo pacman -S tor
Ubuntu:
sudo apt-get install tor
Service Initialization
Start the tor service daemon:
sudo systemctl start tor.service
The Tor daemon initializes and listens on port 9050.
Proxy Configuration
Within the Telegram client configuration navigate to Settings > Advanced > Connection type.
- Enable "Try connecting through IPv6".
- Select "Use custom proxy".
- Choose SOCKS5.
- Define Hostname as
127.0.0.1. - Define Port as
9050.
Save the configuration. The client will route traffic through the local Tor proxy.
Alternative fast-configuration URI:
https://t.me/socks?server=127.0.0.1&port=9050