Tor in termux:
Install termux from playstore or fdroid.
Run these commands in termux:
$ curl -LO https://raw.githubusercontent.com/mhdzli/tormux/main/tormux.sh
$ bash tormux.sh install
$ tor &
Set socks proxy for telegram:
- Go to settings > Data and Storage > Proxy Settings.
- Tap on
Add Proxy
- Set the Server to
127.0.0.1
and port to9050
If Tor didn't connect to existing bridges:
- Send an email with empty subjec field and "get transport obfs4" in content to
bridges@torproject.org
to get new bridges (Just works with Gmail and Riseup). Alternatively you can get new bridges from torproject website. - Replace exicting bridges in obfs.txt in downlods directory of your internal memory with new ones.
- Run
bash tormux update
intermux
- Run
tor &
To stop tor just run pkill tor
in termux