We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v5
使用socks连接中转服务器
从源码看到socks5直接选用了noAuth
支持账号密码
Server configuration:
{ "inbounds": [ { "protocol": "socks", "port": "55555", "settings": { "udpEnabled": true, "address":"127.0.0.1", "users":[ { "user": "test", "pass": "test" } ] } } ], "outbounds": [ { "protocol": "freedom" } ] }
Client configuration:
// Please attach your client configuration here.
Failed to start: main/commands: failed to load config: [config.json] > infra/conf/v5cfg: unable to build config > infra/conf/v5cfg: unable to load inbound protocol config > common/registry: unable to parse json content > unknown field "users" in v2ray.core.proxy.socks.simplified.ServerConfig
Server error log:
// Please attach your server error log here.
Client error log:
// Please attach your client error log here.
// Please attach your server access log here.
--test
The text was updated successfully, but these errors were encountered:
从官网文档来看,inbounds里配置是这样的: https://www.v2fly.org/config/protocols/socks.html#outboundconfigurationobject
Sorry, something went wrong.
@devxu that is the v4 format. On the v5 format, authType is hardcoded to noAuth.
No branches or pull requests
What version of V2Ray are you using?
v5
What's your scenario of using V2Ray?
使用socks连接中转服务器
What problems have you encountered?
从源码看到socks5直接选用了noAuth
What's your expectation?
支持账号密码
Please attach your configuration here
Server configuration:
Client configuration:
// Please attach your client configuration here.
Please attach error logs here
Failed to start: main/commands: failed to load config: [config.json] > infra/conf/v5cfg: unable to build config > infra/conf/v5cfg: unable to load inbound protocol config > common/registry: unable to parse json content > unknown field "users" in v2ray.core.proxy.socks.simplified.ServerConfig
Server error log:
// Please attach your server error log here.
Client error log:
// Please attach your client error log here.
Please attach access log here
// Please attach your server access log here.
Other configurations (such as Nginx) and logs here
If V2Ray cannot start up, please attach output from
--test
command
If V2Ray service is abnormal, please attach journal log here
The text was updated successfully, but these errors were encountered: