-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Making SOCKS5 proxies with User Authentication work with Chrome #305
Comments
I was able to do it, was at my face the whole time, I thought goproxy only supported HTTP proxies, but no... here is the code block I used:
Hope it helps somebody ☺ |
Nice job 👍 |
need change
to
because |
Can I ask for a complete example? I don't understand, or what packages need to be imported? |
Could you please guide me as to which third-party library is goproxy in this method? or URL |
Rod Version: v0.84.3
The code to demonstrate your question
While we can just use the above code to set auth for SOCKS proxies on the http.Client{}, we don't have a direct solution for doing that on Chrome, being able to use only SOCKS without user authentication with ease, I have been searching for a solution to be able to create a middleware type of proxy server, that way it would serve, and when I connected to the port, it connects to the remote SOCKS5 proxy and solves the auth for me, but no luck so far to find a solution, goproxy seems to only support HTTP/S type of proxies. Got the idea by a yad comment on a similar issue ( #62 ).
Thanks for your attention!
The text was updated successfully, but these errors were encountered: