Closed LiYao703198594 closed 4 years ago
我在通过ipv4代理下载时使用netstat -apn | grep v2ray命令
tcp 3827680 0 128.199删除:36490 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 2863748 0 128.199删除:36496 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 3353504 0 128.199删除:36492 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 1871568 0 128.199删除:36494 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 3467680 0 128.199删除:36486 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 0 0 128.199删除:31326 104.85.197.14:443 ESTABLISHED 4242/v2ray
tcp 3185576 0 128.199删除:36488 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp6 0 0 :::2233 ::: LISTEN 4242/v2ray
tcp6 0 0 2400:6180a:46844 2404:6800:4003:802::443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:59810 2404:6800:4003:c00::443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:41536 2a04:4e42::731:443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:42384 2404:6800:4003:c04::443 ESTABLISHED 4242/v2ray
udp6 0 0 :::10667 ::: 4242/v2ray
udp6 0 0 :::10310 ::: 4242/v2ray
udp6 0 0 :::17672 ::: 4242/v2ray
udp6 0 0 :::23333 ::: 4242/v2ray
udp6 0 0 :::23344 ::: 4242/v2ray
udp6 0 0 :::15163 :::* 4242/v2ray
v2ray默认监听(这个我没动)不应该是0.0.0.0吗? 为何监听的是128.199删除的ip。
是不是digitalocean的浮动ip不能接受UDP数据?? 电脑小白,不是太懂!!
发单与客服聊天了,浮动IP不限制udp数据!!
客户端的 outbounds 和 服务端的 inbounds 的 port 都是一样的,没有走 https 吗
我采用的是mKCP的bt伪装,这种端口可以不一样吗??
用vmess测试
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。 除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。 如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) 4.19.1 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 Chrome通过Socks代理浏览网页 3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) Digitalocean的vps,Ubuntu 16.04 64位系统,刚装完系统,十分干净,有一个正常的ipv4地址与ipv6地址以及浮动ipv4地址,通过ipv6与原来的ipv4地址都可以正常使用v2ray和ssh登陆,但在浮动ip上只能ssh登陆,不能使用v2ray。(如果需要,我可以提供提供地址账号密码) 4) 你期待看到的正确表现是怎样的? 能使用浮动ip运行v2ray服务(这样就不担心ip被封了) 5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
服务器端配置:
客户端配置:
6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。服务器端错误日志:
客户端错误日志:
7) 请附上访问日志。在 Linux 中,日志通常在
/var/log/v2ray/access.log
文件中。8) 其它相关的配置文件(如 Nginx)和相关日志。 在通过代理测试下载时使用netstat -apn | grep v2ray命令 tcp 3299128 0 128.199删除:36490 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 1891340 0 128.199删除:36496 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 3279012 0 128.199删除:36492 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 2586904 0 128.199删除:36494 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 3707712 0 128.199删除:36486 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp 3733028 0 128.199删除:36488 103.6.148.98:8080 ESTABLISHED 4242/v2ray
tcp6 0 0 :::2233 ::: LISTEN 4242/v2ray
tcp6 0 0 2400:6180::a:46844 2404:6800:4003:802::443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:59810 2404:6800:4003:c00::443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:41536 2a04:4e42::731:443 ESTABLISHED 4242/v2ray
tcp6 0 0 2400:6180::a:42384 2404:6800:4003:c04::443 ESTABLISHED 4242/v2ray
udp6 0 0 :::10667 ::: 4242/v2ray
udp6 0 0 :::10310 ::: 4242/v2ray
udp6 0 0 :::17672 ::: 4242/v2ray
udp6 0 0 :::23333 ::: 4242/v2ray
udp6 0 0 :::23344 ::: 4242/v2ray
udp6 0 0 :::15163 :::* 4242/v2ray
客户端使用了v2rayng 配置 { "inbound": [ { "localPort": 1080, "protocol": "socks", "udpEnabled": true, "sniffingEnabled": true } ], "logEnabled": false, "loglevel": "warning", "index": 1, "vmess": [ { "configVersion": 2, "address": "2001:4860:4860::8888", "port": 23333, "id": "97466199-778a-46dd-abeb-8fab5270effb", "alterId": 233, "security": "aes-128-gcm", "network": "kcp", "remarks": "v2ray6.com_142.93.80.131", "headerType": "utp", "requestHost": "", "path": "", "streamSecurity": "", "allowInsecure": "", "configType": 1, "testResult": "", "subid": "" } ], "muxEnabled": true, "domainStrategy": "IPIfNonMatch", "routingMode": "0", "useragent": [], "userdirect": [], "userblock": [], "kcpItem": { "mtu": 1350, "tti": 50, "uplinkCapacity": 12, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2 }, "sysAgentEnabled": true, "listenerType": 3, "urlGFWList": "", "allowLANConn": true, "remoteDNS": "2001:4860:4860::8888,2001:4860:4860::8844,8.8.8.8,8.8.4.4,114.114.114.114", "subItem": null, "uiItem": { "mainQRCodeWidth": 600 } }
9) 如果 V2Ray 无法启动,请附上
--test
输出。通常的命令为
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
。请按实际情况修改。 V2Ray 4.19.1 (Let's Fly) Custom A unified platform for anti-censorship. Configuration OK.10) 如果 V2Ray 服务运行不正常,请附上 journal 日志。
通常的命令为
journalctl -u v2ray
。 Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2482]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2482]: A unified platform for anti-censorship. Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2482]: main: failed to read config file: /etc/v2ray/config.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to e Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2482]: > exit status 255 Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:06:59 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2521]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2521]: A unified platform for anti-censorship. Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2521]: main: failed to read config file: /etc/v2ray/config.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to e Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2521]: > exit status 255 Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:07:40 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2565]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2565]: A unified platform for anti-censorship. Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2565]: main: failed to read config file: /etc/v2ray/config.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to e Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2565]: > exit status 255 Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:08:44 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2611]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2611]: A unified platform for anti-censorship. Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2611]: main: failed to load config: /etc/v2ray/config.json > v2ray.com/core/main/confloader/external: config file not readable > open /etc/v2ray/config.json: no such file or directory Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:13:48 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. Jul 04 08:14:15 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:15:10 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:15:10 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2757]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:15:10 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2757]: A unified platform for anti-censorship. Jul 04 08:15:10 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2757]: 2019/07/04 08:15:10 [Warning] v2ray.com/core: V2Ray 4.19.1 started Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopping V2Ray Service... Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2819]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2819]: A unified platform for anti-censorship. Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2819]: main: failed to read config file: /etc/v2ray/config.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to e Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2819]: > exit status 255 Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:17:24 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. Jul 04 08:18:01 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Stopped V2Ray Service. Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: Started V2Ray Service. Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2915]: V2Ray 4.19.1 (Let's Fly) Custom Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2915]: A unified platform for anti-censorship. Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 v2ray[2915]: main: failed to create server > v2ray.com/core/app/router: this rule has no effective fields Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Unit entered failed state. Jul 04 08:20:25 ubuntu-s-1vcpu-1gb-sgp1-01 systemd[1]: v2ray.service: Failed with result 'exit-code'. (这应该是我先前修改config.json出错是的记录,现在已经撤销更改了) 请预览一下你填的内容再提交。