hq450 / fancyss

fancyss is a project providing tools to across the GFW on asuswrt/merlin based router.
GNU General Public License v3.0
12.44k stars 3.17k forks source link

WS+TLS+CDN节点无效 #522

Closed kdush closed 4 years ago

kdush commented 5 years ago

看rt 我的梯子被ban,我使用CDN大法拯救了小鸡,mac上可用,但是梅林插件的解析貌似是分析了ip后通讯,而不是直接和域名通讯

机型:思科EA6500v2 固件版本: 7.9.1 插件版本:4.2.0 插件设置:缺省 插件日志: 网络情况:电信500mb 机场信息:搬瓦工 vps配置:1g ram 1core 操作过程:安装配置

kdush commented 5 years ago
{
  "log": {
    "error": "",
    "loglevel": "info",
    "access": ""
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "ip": "",
        "userLevel": 0,
        "timeout": 360,
        "udp": true,
        "auth": "noauth"
      },
      "port": "1081"
    },
    {
      "listen": "127.0.0.1",
      "protocol": "http",
      "settings": {
        "timeout": 360
      },
      "port": "1086"
    }
  ],
  "outbounds": [
    {
      "mux": {
        "enabled": false,
        "concurrency": 8
      },
      "protocol": "vmess",
      "streamSettings": {
        "wsSettings": {
          "path": "/app",
          "headers": {
            "host": "www.xxx.xyz"
          }
        },
        "tlsSettings": {
          "serverName": "www.xxx.xyz",
          "allowInsecure": true
        },
        "security": "tls",
        "network": "ws"
      },
      "tag": "agentout",
      "settings": {
        "vnext": [
          {
            "address": "www.xxx.xyz",
            "users": [
              {
                "id": "xxx-22a9-4204-a240-3caa44b74c4a",
                "alterId": 233,
                "level": 0,
                "security": "auto"
              }
            ],
            "port": 443
          }
        ]
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {
        "domainStrategy": "AsIs",
        "redirect": "",
        "userLevel": 0
      }
    },
    {
      "tag": "blockout",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "none"
        }
      }
    }
  ],
  "dns": {
    "servers": [
      ""
    ]
  },
  "routing": {
    "strategy": "rules",
    "settings": {
      "domainStrategy": "IPIfNonMatch",
      "rules": [
        {
          "outboundTag": "direct",
          "type": "field",
          "ip": [
            "geoip:cn",
            "geoip:private"
          ],
          "domain": [
            "geosite:cn",
            "geosite:speedtest"
          ]
        }
      ]
    }
  },
  "transport": {}
}
marswow commented 5 years ago

不去解析IP地址你把数据发给谁呢?

kdush commented 5 years ago

不去解析IP地址你把数据发给谁呢?

有点困惑,原因是我猜的,因为macbook可用