本帖最后由 嫖啊嫖 于 2021-8-17 11:07 编辑
网上能搜到服务端的配置说明,还比较详细,但是客户端(Linux)怎么配置就完全找不到有用的说明。我搞了半天,两边都启动后看不到互相连接信息,大佬们请帮我看一下哪里有问题
服务端的config.json:
- {
- "server": "0.0.0.0",
- "server_port": 443,
- "timeout":300,
- "method":"none",
- "password":"xxxxxxx",
- "fast_open":false,
- "nameserver":"1.1.1.1",
- "mode":"tcp_only",
- "plugin":"/etc/v2plugin/v2plugin",
- "plugin_opts":"server;mode=quic;host=xyzzz.tk;cert=/root/.acme.sh/xyzzz.tk/fullchain.cer;key=/root/.acme.sh/xyzzz.tk/xyzzz.tk.key;loglevel=none"
- }
复制代码
运行结果是这样的:
- # ./ssserver -c config.json
- 2021-08-16T22:35:08.249808136-04:00 INFO shadowsocks 1.11.2
- 2021-08-16T22:35:08.252657927-04:00 INFO shadowsocks tcp server listening on 127.0.0.1:37589, inbound address 0.0.0.0:443
- 2021/08/16 22:35:08 V2Ray 4.23.2 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.3 linux/amd64)
- 2021/08/16 22:35:08 A unified platform for anti-**ship.
复制代码
Linux客户端的json:
- {
- "timeout" : 60,
- "server" : "xxx.xxx.xxx.xxx",
- "server_port" : 443,
- "password" : "xxxxxxxx",
- "local_address" : "0.0.0.0",
- "method" : "none",
- "local_port" : 646400,
- "plugin" : "/app/ssrust/v2plugin",
- "plugin_opts" : "quic;host=xyzzz.tk"
- }
复制代码
运行起来的时候是这样的:
- $ ./sslocal -c config.json
- 2021-08-17T10:32:36.790309616+08:00 INFO shadowsocks 1.11.2
- 2021-08-17T10:32:36.795800117+08:00 INFO shadowsocks socks TCP listening on 0.0.0.0:65535
- 2021/08/17 10:32:36 V2Ray 4.23.2 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.3 linux/amd64)
- 2021/08/17 10:32:36 A unified platform for anti-**ship.
- 2021/08/17 10:32:36 [Warning] v2ray.com/core: V2Ray 4.23.2 started
复制代码
CF那边开启了HTTP3,SSL/TLS选的FULL,网上能找到的注意点都检查了,然后就是连不通,请问我的配置哪里有问题呢?
PS:奇怪了,把SSL/TLS选项从FULL改到Full (strict),我连接sslocal的本地端口变成了直接本地访问...这是什么鬼??? |