Skip to content
Discussion options

You must be logged in to vote

问题归纳,已提醒其他人

@mydogshitgold 的解答,请感谢他

问题原因:混用V 4 和 v5 配置。
解决方法: 不要混用配置。

v5配置测试命令
v2ray.exe run -c "配置文件路径" -format jsonv5

正确的配置

{
  "inbounds": [
    {
      "tag": "FakeDns-In",
      "protocol": "dokodemo-door",
      "port": 13253,
      "settings": {
        "address": "114.114.114.114",
        "port": 53,
        "networks": "udp"
      }
    }
  ],
  "outbounds": [
    {
      "tag": "Dns-Out",
      "protocol": "dns"
    },
    {
      "protocol": "freedom",
      "tag": "Direct"
    }
  ],
  "router": {
    "rule": [
      {
        "tag": "Dns-Out",
        "inboundTag": [
          "FakeDns-In"
        ],
        "networks": "UDP",
        "portList": "53"
      },
      {
    …

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@mydogshitgold
Comment options

@wy16W2pIilK1xgqN
Comment options

@mydogshitgold
Comment options

@mydogshitgold
Comment options

@wy16W2pIilK1xgqN
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wy16W2pIilK1xgqN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants