Setup a SOCKS5 proxy in a single command

Due to recent block of Telegram by Russian Censorship, I created a script to get your own SOCKS5 proxy in a single command:

VPN is a also a good solution, but on mobile devices it consumes additional power. And since all traffic to Telegram servers is encrypted anyway, you may as well use SOCKS proxy which does not eat your battery.

Of course, it is a bad practive to pipe into sudo bash something that you have found on the Internet. But if you use some expendable vm/container that serves only one purpose, it’s fine.

If you are looking for a more complex and functional solution to bypass censorship, you may check out Streisand Effect.

License: This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License Share: share on reddit share on hacker news share on facebook share on twitter share on linkedin share on slashdot