1、生成warp+秘钥(输入1):https://replit.com/@haixiaglin/warp?v=1#main.py
2、根据秘钥生成配置文件(输入2):https://replit.com/@haixiaglin/Sheng-Cheng-wireguardPei-Zhi-Wen-Jian-Hei-Bai-Fen-Xiang?v=1
3、复制秘钥并保存为warp.conf
4、下载并安装wireguard:https://www.wireguard.com/install/
5、打开wireguard,点击左下角+号,选择“从文件导入”,选择上述warp.conf
6、下载优选脚本:https://gitlab.com/Misaka-blog/warp-script/-/tree/main
- For Windows
下载地址:https://gitlab.com/Misaka-blog/warp-script/-/blob/main/files/warp-yxip/warp-yxip-win.7z
- For MacOS
wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/files/warp-yxip/warp-yxip-mac.sh && bash warp-yxip-mac.sh
- For Linux (包括安卓 Termux 和 iOS 的 iSH)
wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/files/warp-yxip/warp-yxip.sh && bash warp-yxip.sh
7、运行优选脚本
8、选出地址后,点击wireguard右下角“编辑”,替换到Endpoint =
9、点击“启动”即可使用
评论 (0)