Giter VIP home page Giter VIP logo

Comments (6)

toohandsome avatar toohandsome commented on August 22, 2024

image
使用xray 同样不行

image

from v2ray-openwrt.

felix-fly avatar felix-fly commented on August 22, 2024

v2ray不支持xtls
透明代理需要配置iptables
配置文件有问题

from v2ray-openwrt.

toohandsome avatar toohandsome commented on August 22, 2024

我使用xray启动的,请问该如何配置呢?
我暂时没配置透明代理,使用树莓派手动设置代理访问google,以下是日志:

image

image

配置文件如下(从xray项目拷贝修改的)

{
  "log": {
    "access": "access.log",
    "error": "error.log",
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "0.0.0.0",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    },{
      "tag": "http",
      "port": 10809,
      "listen": "0.0.0.0",
      "protocol": "http",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "udp": false,
        "allowTransparent": false
      }
    },{
    "port": 12345,
    "protocol": "dokodemo-door",
    "sniffing": {
      "enabled": true,
      "destOverride": ["http", "tls"]
    },
    "settings": {
      "network": "tcp,udp",
      "followRedirect": true
    }
  }],
  "outbounds": [{
    "protocol": "freedom",
    "settings": {}
  }, {
    "protocol": "blackhole",
    "settings": {},
    "tag": "blocked"
  }, {
    "protocol": "vless",
    "tag": "proxy",
    "settings": {
      "vnext": [{
        "address": "1111",
        "port": 443,
        "users": [{
          "id": "1e9a0e99-4937-1111-8c111118-11",
          "flow": "xtls-rprx-direct",
          "encryption": "none"
        }]
      }]
    },
    "streamSettings": {
      "network": "tcp",
      "security": "xtls",
      "xtlsSettings": {
        "serverName": "1111.xyz"
      }
    }
  }],
  "routing": {
    "strategy": "rules",
    "settings": {
      "rules": [{
        "type": "field",
        "domain" : ["ext:site.dat:gw"],
        "outboundTag": "proxy"
      }, {
        "type": "field",
        "domain" : ["ext:site.dat:ad"],
        "outboundTag": "blocked"
      }]
    }
  }
}

from v2ray-openwrt.

toohandsome avatar toohandsome commented on August 22, 2024

解决了
参考 v2fly/v2ray-core#304
证书的问题

from v2ray-openwrt.

felix-fly avatar felix-fly commented on August 22, 2024

恭喜 官改应该没有内置证书

from v2ray-openwrt.

 avatar commented on August 22, 2024

解决了
参考 v2fly/v2ray-core#304
证书的问题

看得不太懂,能帮忙详细说一下么?

from v2ray-openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.