Open AntiMoron opened 2 years ago
脚本一键安装后,客户端连不上?估计是启动不起来:
cat /etc/nginx/conf/conf.d/v2ray.conf
127.0.0.1:端口号
curl 127.0.0.1:刚的端口号
refuse connection
ps aux | grep v2ray
cd /etc/systemd/system/v2ray.service.d/
/etc/v2ray/config.json
-config
run -config
第4能有详细操作步骤就好了。
脚本一键安装后,客户端连不上?估计是启动不起来:
cat /etc/nginx/conf/conf.d/v2ray.conf
,反向代理的127.0.0.1:端口号
在里面有写curl 127.0.0.1:刚的端口号
看看服务起没起来,没起来会说refuse connection
类似的东西ps aux | grep v2ray
,除了当前这条查询指令之外有没有v2ray对应的pid。cd /etc/systemd/system/v2ray.service.d/
,看下里面唯一的一个config文件里,ExecStart那行的启动脚本是啥? 4.1. 脚本的config不对,可能路径对不上。比如我在某些centos机器上遇到他的启动项是 实际读到/usr/local/v2ray/config.json (貌似这样),我把对应的文件改成软连接到/etc/v2ray/config.json
就好了 4.2 启动脚本不对,和v2ray脚本有关。比如v2ray 5.x 启动项从-config
变为run -config
https://github.com/wulabing/V2Ray_ws-tls_bash_onekey/issues/47