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

Parent/Upstream HTTP Proxy with Authentication #112

Closed
elog08 opened this issue Jul 15, 2018 · 1 comment

Comments

@elog08
Copy link

commented Jul 15, 2018

I would like to use goproxy as a tunnel to an authenticated HTTP proxy.

goproxy:33080 -> user:pass@proxy.site:3333 -> www.example.org

I have tried the following:
proxy http --always -t tcp -p ":33080" -T tcp -P "proxy.site:3333" -u "user" -A "pass"
proxy http --always -t tcp -p ":33080" -T tcp -P "proxy.site:3333" -A "user:pass"
but I get a Proxy Authorization error

curl -x localhost:33080 httpbin.org/ip
<html><head><title>407 Proxy Authentication Required</title></head>
<body><h2>407 Proxy Authentication Required</h2><h3>Access to requested resource disallowed by administrator or you need valid username/password to use this resource</h3></body></html>

Any help appreciated,
Thanks

@snail007

This comment has been minimized.

Copy link
Owner

commented Jul 15, 2018

-A not supported by http(s) proxy , you can use sps model to do that, sps : https://github.com/snail007/goproxy#6proxy-protocol-conversion

@snail007 snail007 added the question label Aug 10, 2018
@snail007 snail007 closed this Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.