☁️ 咖啡云盘

📋

config.json

大小:3.48 KB | 类型:JSON | 时间:2026-08-21 05:42:13

{
  "log": {
    "access": "none",
    "loglevel": "warning",
    "dnsLog": false
  },
  "inbounds": [
    {
      "tag": "proxy-in",
      "port": 9898,
      "protocol": "dokodemo-door",
      "settings": {
        "network": "tcp,udp",
        "followRedirect": true
      },
      "streamSettings": {
        "sockopt": {
          "tproxy": "tproxy"
        }
      },
      "sniffing": {
        "enabled": true,
        "routeOnly": true,
        "destOverride": [
          "http",
          "tls"
        ]
      }
    },
    {
      "tag": "proxy-in-2",
      "port": 9797,
      "protocol": "dokodemo-door",
      "settings": {
        "network": "tcp,udp",
        "followRedirect": true
      },
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "socks",
      "settings": {
        "servers": [
          {
            "address": "PLACEHOLDER_SERVER_ADDRESS",
            "port": PLACEHOLDER_SERVER_PORT,
            "users": [
              {
                "user": "PLACEHOLDER_USERNAME",
                "pass": "PLACEHOLDER_PASSWORD"
              }
            ]
          }
        ]
      },
      "tag": "proxy"
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {
        "domainStrategy": "UseIP"
      }
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "http"
        }
      }
    },
    {
      "tag": "dns-out",
      "protocol": "dns",
      "settings": {
        "address": "8.8.8.8"
      }
    }
  ],
  "routing": {
    "domainStrategy": "AsIs",
    "rules": [
      {
        "type": "field",
        "port": "10012",
        "outboundTag": "proxy"
      },
      {
        "type": "field",
        "port": "65010",
        "outboundTag": "proxy"
      },
      {
        "type": "field",
        "port": "10001",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "port": "15692",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "port": "27040",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "port": "54321",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "domain": [
          "www.sogou.com",
          "down.anticheatexpert.com",
          "nj.cschannel.anticheatexpert.com"
        ],
        "outboundTag": "proxy"
      },
      {
        "type": "field",
        "domain": [
          "qq.com",
          "ssl"
        ],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "ip": [
          "61.151.229.52/32",
          "101.89.42.96/32",
          "116.128.169.246/32",
          "116.128.169.179/32",
          "117.131.23.224/32",
          "183.194.238.78/32",
          "114.222.112.57/32"
        ],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "port": "80",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "port": "442",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "port": "443",
        "outboundTag": "block"
      },
      {
        "type": "field",
        "network": "tcp,udp",
        "outboundTag": "direct"
      }
    ]
  }
}