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

goproxy vps 能不能设置全局代理 #20

Open
ocdman opened this issue Jan 9, 2018 · 0 comments
Open

goproxy vps 能不能设置全局代理 #20

ocdman opened this issue Jan 9, 2018 · 0 comments

Comments

@ocdman
Copy link

ocdman commented Jan 9, 2018

我已经实现了goproxy vps翻墙,但是主要还是在Chrome浏览网页的情况下使用。我有些别的软件要更新,不走代理的情况下,连接国外服务器的网速实在太慢,我想能不能用goproxy vps做全局代理。

我在mac上配置了全局代理,使用https协议,填好域名+端口号,验证输入了用户名和密码,但是走代理的时候,goproxy日志报错

tls: oversized record received with length 20037

相同的配置,当我用IOS上的Wingy这款软件,走goproxy vps代理时倒是正常的。但是我又在windows上,使用Proxifier这款全局代理配置软件,一模一样的配置,报和mac上一样的错。

我的goproxy.toml文件如下:

[default]
log_level = 2
reject_nil_sni = false
daemon_stderr = "./goproxy-vps.log"

[[http2]]
listen = ":443"
server_name = ["mydomain.com"]
disable_legacy_ssl = false
proxy_fallback = "http://127.0.0.1:80"
client_outh_pem = """"""

[[https]]
listen = ":443"
server_name = ["mydomain.com"]
proxy_fallback = "http://127.0.0.1:80"
proxy_auth_method = "pam"

其余的部分都被我注释了,我就开了http2和https。不知道有没有人知道这个问题。

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

1 participant