Mc2Discord

Mc2Discord

50.4k Downloads

SOCKS5 proxy

SaintSugar opened this issue ยท 5 comments

commented

Hello. I live in Russia and the government recently blocked discord. Could you add built-in support for SOCKS5 proxy (or any other) to connect from restricted countries?

commented

This can surely be added to the mod. From what I see you only 'need a field for the proxy url?
However, I don't have the time to implement such a feature in the mod right now :(.
In the meantime, maybe you can set an os level proxy or run the Minecraft server in a docker container/virtual machine with a proxy?

commented

This can surely be added to the mod. From what I see you only 'need a field for the proxy url? However, I don't have the time to implement such a feature in the mod right now :(. In the meantime, maybe you can set an os level proxy or run the Minecraft server in a docker container/virtual machine with a proxy?

At the moment I just proxy all outgoing connections from the server. Direct player connections to the server are of course not proxied, so the problem is solved at my level, but still being able to do it from the mod would be a nice bonus).

commented

would also like to chip in with my +1, since the server I manage is located in russia as well, so some kind of proxy setting would be good to have

commented

would also like to chip in with my +1, since the server I manage is located in russia as well, so some kind of proxy setting would be good to have

Some linux advices.

shadowsocks-libev for proxy server

proxychains4 for proxy client (just start your server with "proxychains4 java [other stuff]" instead of "java [other stuff]")

Also gost is useful for some protocol conversion. Although it's not necessary for Minecraft server

commented

thank you for the notes, I'll see if I can cook something up with it