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

68 天前
 robinlovemaggie

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. 测试是否成功,点击链接

917 次点击
所在节点    分享发现
4 条回复
bernardkickass
68 天前
warp 的 ip 也不干净。上 google 经常需要输验证码,上 reddit 都要登录
crysislinux
68 天前
为啥会 429 ,我一点问题没有。
robinlovemaggie
68 天前
@crysislinux 老问题了,小作坊 VPS 的 IP 被屏蔽了
robinlovemaggie
68 天前
@bernardkickass 没办法的样子,不能既要又要啊~

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1145597

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX