evgeny-nadymov / telegram-react

Experimental Telegram web client with tdlib, webassembly and react js under the hood
https://evgeny-nadymov.github.io/telegram-react/
GNU General Public License v3.0
2.33k stars 605 forks source link

Connection through TOR SOCKS5 proxy #95

Open z1qaw opened 4 years ago

z1qaw commented 4 years ago

I upped TOR Bundle server on my localhost for use it as SOCKS5 proxy. It works fine on Telegram Desktop app, i just put Tor Bundle adress (localhost:9050) into proxy settings. How can I get it work in your application?

savely-krasovsky commented 4 years ago

AFAIK browsers should automatically use SOCKS5 server if they are set in system proxy settings.

z1qaw commented 4 years ago

AFAIK browsers should automatically use SOCKS5 server if they are set in system proxy settings.

If I use proxy in browser while I am trying to use this app, I can't connect to the app on my localhost. I need to configure application to use proxy in it.

savely-krasovsky commented 4 years ago

@s1q browser cannot use TCP connections. In case of this app, it uses WebSockets (they are over HTTPS). Tor HTTPS proxy should help you.