Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOCKS5 proxy #129

Open
SaintSugar opened this issue Nov 2, 2024 · 5 comments
Open

SOCKS5 proxy #129

SaintSugar opened this issue Nov 2, 2024 · 5 comments

Comments

@SaintSugar
Copy link

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?

@DenisD3D
Copy link
Owner

DenisD3D commented Nov 2, 2024

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?

@SaintSugar
Copy link
Author

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).

@MisteryDuck
Copy link

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

@SaintSugar
Copy link
Author

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

@MisteryDuck
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants