V2EX 07月16日 18:05
[分享发现] 「求人不如求己系列」如何手动配置 X2ray+WARP 来解决 imgur 的 429 问题
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文介绍如何配置x2ray以使用WARP服务,包括编辑配置文件、重启服务及测试过程。

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

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

x2ray WARP服务 配置 重启
相关文章