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

下载脚本中可以设置代理,并有提示可以使用socks5,但实际上wget不支持socks5代理 #1385

Open
PetrusZ opened this issue Dec 12, 2024 · 3 comments

Comments

@PetrusZ
Copy link

PetrusZ commented Dec 12, 2024

-p, --proxy <addr> 使用代理下载, e.g., -p http://127.0.0.1:2333 or -p socks5://127.0.0.1:2333

实际上wget不支持socks5代理

@233boy
Copy link
Owner

233boy commented Dec 13, 2024

这个代理是设置 https_proxy 变量的;你可以用 http 代理看看

@PetrusZ
Copy link
Author

PetrusZ commented Dec 13, 2024

ok。建议帮助中说明不支持socks5代理。

@15052379936
Copy link

这个代理是设置 https_proxy 变量的;你可以用 http 代理看看

脚本运行后,默认输出的

-------------- VMess-TCP-xxxxx7.json -------------
协议(协议) = vmess
地址(地址) = xxxxxxx
端口(端口) = xxxxx
用户ID(id) = xxxxxxxx
传输协议(网络) = tcp
伪装类型(type) = none

这种格式的结果,复制下面的链接URL,在v2rayNG里面可以正常访问谷歌等网络,可以正常连接

我自己申请域名,所以想使用 VMess-WS-TLS 做伪装

但对应输出的结果,复制后无法链接到网络

-------------- VMess-WS-TLS-xxxxxxx.ip-ddns.com.json -------------
协议(协议)= vmess
地址(地址)= xxxxxxx.ip-ddns.com
端口(端口)= xxxxxx
用户ID(id)= xxxxxx
传输协议(网络)= ws
配置域名(主机)= xxxxxx.ip-ddns.com
路径(路径)= /4ad25132-fc0f-412d-8c55-00c2b8d2ac80
传输层安全 (TLS) = tls

就是上面那种格式的主板的URL,复制到v2rayNG里面后,服务启动成功,但连接测试报错

报错信息为:失败:net/http:TLS 握手超时

表示情况默认下可以连接外网,选择VMess-WS-TLS这种类型的无法连接上

特此请教一下各位大佬,看看这种怎么处理

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

3 participants