-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Feature request: SOCKS5 plaintext proxy in Go #234
Comments
Ouch, 2020. |
@alpe12 you can plug in any socks server container for now (dante or other server implementing the socks protocol). Right now a SOCKS5 proxy built-in is not a priority since there is already an http proxy and a shadowsocks server (encrypted socks5) |
To anyone who might be interested. This is what I'm using now to get socks5:
|
If anybody still needs this, I forked gluetun and added support for socks5. https://github.com/x0st/gluetun
You can pass any username, only password will be checked.
|
What's the image name for this new image with socks5 support ? I'm using docker compose and the image "qmcgaw/gluetun". I tried with "x0st/gluetun" and docker returns an error. |
@x0st Well done, Those changes look pretty good. Have you considered opening a PR to merge those changes back to Gluetun? |
I didn't publish the image. Just clone the repo and build it yourself :)
|
The socks5 lib is not mine, I just found it on github. I use it in all my projects, but I am not sure if it's any good. I don't want to merge into open source something I can't guarantee will work well :) |
I went a bit crazy a few days ago and I have a working socks5 server (no gssapi for now) locally. But it's blocked by various maintenance bits I'm working on (#1742 first, then a 'loops rework'), so probably a few more weeks, but it'll come ultimately. Although really, just plugin another socks5 container through Gluetun and it should do the job just fine I think. |
The problem is that sabnzbd won't support http proxy according to their dev. They do support socks5. So this means only option is to use the network container bridge which isn't working for me and would be a lot easier just to use socks5. Thought I should just raise that as sabnzbd is a common component. |
@x0st Thanks for your effort, but getting build error:
|
How is it going? @qdm12 Your weeks are longer than mine. 🧐😋 |
Is there any news about socks5 in Gluetun? |
There is a socks proxy in binhex/arch-delugevpn though I haven't exactly gotten it to work yet. But it's socks5. So maybe try that since it isn't a priority here. |
As another workaround option, the official tailscale docker image has a socks5 server too; https://tailscale.com/kb/1282/docker#ts_socks5_server. If you don't use tailscale, the rest of this answer might not be very useful for you. I was already running a tailscale container, so it was pretty easy to just put tailscale behind
(I've removed much of the config for both gluetun/tailscale in this example) Now I can just point my socks5-client (e.g firefox) at In my full setup, I also have the tailscale-container act as an exit-node in my tailnet, which means by simply changing my phone's exit-node in the TS app, it'll funnel all traffic through gluetun |
SOCKS5 plaintext proxy in Go
When you don't want to use a Shadowsocks client and don't care about encryption (i.e. in your LAN) or because your browser is limited to SOCKS5 and doesn't have a Shadowsocks extension. Also for low power devices where encryption can have a performance penalty.
This should be added in Go and should be relatively straight forward to implement.
The text was updated successfully, but these errors were encountered: