Mark's blog 这是 Mark 的个人博客,记录些东西。

俄罗斯 IP 无法显示 Youtube 头像

⚠️ 本文最后更新于2024年10月10日,已经过了98天没有更新,若内容或图片失效,请留言反馈

ggpht.com 头像被俄罗斯屏蔽

Xray 配置 outbounds 和 routing

{
  "api": {
    "services": [
      "HandlerService",
      "LoggerService",
      "StatsService"
    ],
    "tag": "api"
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "port": 62789,
      "protocol": "dokodemo-door",
      "settings": {
        "address": "127.0.0.1"
      },
      "tag": "api"
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag": "ChuZhanDaoVirmachJP",
      "protocol": "vmess",
      "settings": {
            "vnext": [
                {
                    "address": "XXX.XXX.XXX.XXX",
                    "port": XXXX,
                    "users": [
                        {
                            "id": "XXXX",
                            "security": "auto",
                            "alterId": XXXX
                        }
                    ]
                }
            ]
        },
      "streamSettings": {
        "network": "tcp",
        "tcpSettings": {
          "header": {
            "type": "http",
            "request": {
              "version": "1.1",
              "method": "GET",
              "path": [
                "/XXXX"
              ],
              "headers": {
                "Host": [
                  "XXXX.com"
                ],
                "User-Agent": [
                  ""
                ],
                "Accept-Encoding": [
                  "gzip, deflate"
                ],
                "Connection": [
                  "keep-alive"
                ],
                "Pragma": "no-cache"
              }
            }
          }
        }
      }
    },
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "policy": {
    "system": {
      "statsInboundDownlink": true,
      "statsInboundUplink": true
    }
  },
  "routing": {
    "rules": [
      {
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "type": "field"
      },
      {
        "ip": [
          "geoip:private"
        ],
        "outboundTag": "blocked",
        "type": "field"
      },
      {
        "outboundTag": "blocked",
        "protocol": [
          "bittorrent"
        ],
        "type": "field"
      },
      {
            "type": "field",
            "outboundTag": "ChuZhanDaoVirmachJP",
            "domain": [
                "domain:ggpht.com"
            ]
      }
    ]
  },
  "stats": {}
}
By Mark On
请输计算结果: 3 + 4 = ?