V2ray-Android icon indicating copy to clipboard operation
V2ray-Android copied to clipboard

unable to connect

Open NotMeanttoBe opened this issue 1 year ago • 0 comments

Brother, I used your software to connect but the connection was not successful. I am an xray server. This is my client configuration.

{
  "log": {
    "access": "",
    "error": "",
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ],
        "routeOnly": false
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    },
    {
      "tag": "http",
      "port": 10809,
      "listen": "127.0.0.1",
      "protocol": "http",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ],
        "routeOnly": false
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    }
  ],
  "outbounds": [
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag": "proxy",
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "xxxxxxxx",
            "port": xxxxxxxx,
            "users": [
              {
                "id": "ee00332e-c219-452c-8c6d-06289fa2a3f3",
                "alterId": 0,
                "email": "[email protected]",
                "security": "auto",
                "encryption": "none",
                "flow": ""
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "tcp"
      },
      "mux": {
        "enabled": false,
        "concurrency": -1
      }
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "http"
        }
      }
    }
  ],
  "routing": {
    "domainStrategy": "AsIs",
    "rules": [
      {
        "type": "field",
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "enabled": true
      },
      {
        "type": "field",
        "ip": [
          "xxxxxxxx"
        ],
        "outboundTag": "proxy",
        "enabled": true
      }
    ]
  }
}

At present, my configuration can connect normally, but when I need to jump to visit some websites, or redirect to another path, it cannot be loaded. Can you help me solve it? Dude

NotMeanttoBe avatar May 10 '24 11:05 NotMeanttoBe