V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
robinlovemaggie
V2EX  ›  分享发现

「求人不如求己系列」如何手动配置 X2ray+WARP 来解决 imgur 的 429 问题

  •  
  •   robinlovemaggie · 56 天前 · 893 次点击
    这是一个创建于 56 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1. 前提条件:保证你的私服 VPS 上安装好了 x2ray 服务和 WARP 服务

    2. 编辑 x2ray 配置文件 config.json, 增加配置项:

    {
      "routing": {
        "rules": [
          {
            "type": "field",
            "domain": [
              "domain:imgur.com"
            ],
            "outboundTag": "warp-outbound" // Assuming you have a WARP outbound tag
          },
          {
            "type": "field",
            "outboundTag": "direct" // Direct traffic not matching the above rule
          }
        ]
      },
      "outbounds": [
        {
          "tag": "warp-outbound",
          "protocol": "freedom", // Or your specific WARP protocol
          "settings": {
            "domainStrategy": "UseIP" //  or other strategies
          }
        },
        {
          "tag": "direct",
          "protocol": "freedom", // Direct access
          "settings": {}
        }
      ]
    }
    

    3. 重启 x2ray

    4. 测试是否成功,点击链接

    4 条回复    2025-07-16 17:57:53 +08:00
    bernardkickass
        1
    bernardkickass  
       56 天前
    warp 的 ip 也不干净。上 google 经常需要输验证码,上 reddit 都要登录
    crysislinux
        2
    crysislinux  
       56 天前 via Android
    为啥会 429 ,我一点问题没有。
    robinlovemaggie
        3
    robinlovemaggie  
    OP
       56 天前
    @crysislinux 老问题了,小作坊 VPS 的 IP 被屏蔽了
    robinlovemaggie
        4
    robinlovemaggie  
    OP
       56 天前
    @bernardkickass 没办法的样子,不能既要又要啊~
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   933 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:18 · PVG 04:18 · LAX 13:18 · JFK 16:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.