xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.86k stars 407 forks source link

程序太快了 #36

Closed ddiiccoo closed 3 years ago

ddiiccoo commented 3 years ago

我的V2RAY客户端配置如下:

{
  "inbounds": [
    {
      "port": 1080,
      "protocol": "socks",
      "settings": {
        "auth": "noauth"
      }
    },
    {
      "port": 1000,
      "protocol": "http",
      "settings": {}
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "xxx.com",  #省略
            "port": 443,
            "users": [
              {
                "id": "xxx",   #省略
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "tcp",
        "security": "tls"
      },
      "mux": {
        "enabled": true
      }
    },
    {
      "protocol": "freedom",
      "settings": {},
      "tag": "direct"
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
      {
        "type": "field",
        "outboundTag": "direct",
        "domain": [
          "geosite:cn"
        ]
      },
      {
        "type": "field",
        "outboundTag": "direct",
        "ip": [
          "geoip:cn",
          "geoip:private"
        ]
      }
    ]
  }
}

请帮我看看是什么地方参数设置不对

xjasonlyu commented 3 years ago

问题不一定在客户端,其他的配置,路由、缓存、DNS什么的都有可能的,玄学问题你要自己debug的。

ddiiccoo commented 3 years ago

问题不一定在客户端,其他的配置,路由、缓存、DNS什么的都有可能的,玄学问题你要自己debug的。

哦,明白了,感谢感谢,今天麻烦您一天了