Skip to content

use socks5 upstream but it not work #606

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

Open
wood520 opened this issue Jul 16, 2024 · 1 comment
Open

use socks5 upstream but it not work #606

wood520 opened this issue Jul 16, 2024 · 1 comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@wood520
Copy link

wood520 commented Jul 16, 2024

use socks5 upstream but it not work
image

@wood520 wood520 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jul 16, 2024
@mpenkov
Copy link

mpenkov commented Mar 14, 2025

I suspect the problem here is that you're lowercasing the upstream proxy URL, which may include the username and password to the proxy:

flagSet.StringSliceVarP(&options.UpstreamHTTPProxies, "http-proxy", "hp", nil, "Upstream HTTP Proxies (eg http://proxy-ip:proxy-port)", goflags.NormalizedStringSliceOptions),
flagSet.StringSliceVarP(&options.UpstreamSocks5Proxies, "socks5-proxy", "sp", nil, "Upstream SOCKS5 Proxies (eg socks5://proxy-ip:proxy-port)", goflags.NormalizedStringSliceOptions),

Any chance to disable the case folding @wood520 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants