An update was released in Telegram, they brought support for .ton domains, I thought they had something like Tor there, but it turned out to be much simpler.
Download TON proxy and give it execution rights
Run
Get our .adnl domain
To reach it without using Telegram, simply add .magic.org after .adnl
Download TON proxy and give it execution rights
Bash:
wget https://github.com/ton-utils/reverse-proxy/releases/download/v0.3.3/tonutils-reverse-proxy-linux-amd64
chmod 777 tonutils-reverse-proxy-linux-amd64
Bash:
./tonutils-reverse-proxy-linux-amd64
To reach it without using Telegram, simply add .magic.org after .adnl