alpine安装warp

2025-03-17 / 无评论

安装bash

apk add bash

安装warp

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
1.  为 IPv6 only 添加 WARP IPv4 网络接口 (bash menu.sh 4) 
 2.  为 IPv6 only 添加 WARP IPv6 网络接口 (bash menu.sh 6) 
 3.  为 IPv6 only 添加 WARP 双栈网络接口 (bash menu.sh d) 
 4.  打开 WARP (warp o) 
 5.  安装 CloudFlare Client 并设置为 Proxy 模式 (bash menu.sh c) 
 6.  更换支持 Netflix 的 IP (warp i) 
 7.  永久关闭 WARP 网络接口,并删除 WARP、 Linux Client 和 WireProxy (warp u) 
 8.  变更 WARP 账户 (warp a) 
 9.  升级内核、安装BBR、DD脚本 (warp b) 
 10. 同步最新版本 (warp v) 
 11. WARP 解锁 Netflix 等流媒体专业一键(支持多平台、多方式和 TG 通知) 
 12. 安装 iptable + dnsmasq + ipset,让 WARP IPv4 only 接管流媒体流量 (不适用于 IPv6 only VPS) (bash menu.sh e) 
 13. 安装 wireproxy,让 WARP 在本地创建一个 socks5 代理 (bash menu.sh w) 
 14. 安装 CloudFlare Client 并设置为 WARP 模式 (bash menu.sh l) 
 0.  退出脚本 

 请选择: 1

 只能使用 wireguard kernel 运行 

 工作模式:
 1. 全局 (默认)
 2. 非全局 

 请选择: 1

 如有 WARP+ 或 Teams 账户请选择:
 1. 使用免费账户 (默认)
 2. WARP+
 3. Teams 

 请选择: 1

 请选择优先级别:
 1. IPv4
 2. IPv6
 3. 使用 VPS 初始设置 (默认) 

 请选择: 2

 进度 1/3: 安装系统依赖…… 

(1/14) Installing libmnl (1.0.5-r2)
(2/14) Installing libnftnl (1.2.6-r0)
  0%                                                                                                   
 进度 2/3: 已安装 WARP 

(3/14) Installing libxtables (1.8.10-r3)
(4/14) Installing iptables (1.8.10-r3)
(5/14) Installing iptables-openrc (1.8.10-r3)
(6/14) Installing libelf (0.191-r0)
(7/14) Installing iproute2-minimal (6.9.0-r0)
(8/14) Installing ifupdown-ng-iproute2 (0.12.1-r5)
(9/14) Installing iproute2-tc (6.9.0-r0)
(10/14) Installing iproute2-ss (6.9.0-r0)
(11/14) Installing iproute2 (6.9.0-r0)
Executing iproute2-6.9.0-r0.post-install
(12/14) Installing mii-tool (2.10-r3)
(13/14) Installing net-tools (2.10-r3)
(14/14) Installing openresolv (3.13.2-r0)
Executing busybox-1.36.1-r29.trigger
OK: 30 MiB in 71 packages
(1/6) Installing wireguard-tools-wg (1.0.20210914-r4)
(2/6) Installing ifupdown-ng-wireguard (0.12.1-r5)
(3/6) Installing wireguard-tools-wg-quick (1.0.20210914-r4)
(4/6) Installing ifupdown-ng-wireguard-quick (0.12.1-r5)
(5/6) Installing wireguard-tools (1.0.20210914-r4)
(6/6) Installing wireguard-tools-openrc (1.0.20210914-r4)
Executing wireguard-tools-openrc-1.0.20210914-r4.post-install
*
* To use the WireGuard OpenRC script, you need to create a symbolic link to it with the configuration name:
*     ln -s /etc/init.d/wg-quick /etc/init.d/wg-quick.wg0
* And then call it instead:
*     rc-service wg-quick.wg0 start
*
Executing busybox-1.36.1-r29.trigger
OK: 30 MiB in 77 packages

 进度 3/3: 寻找 MTU 最优值和优选 endpoint 地址已完成 

 创建快捷 warp 指令成功 
 运行 WARP 
 后台获取 WARP IP 中,最大尝试5次……
 第1次尝试 
 已成功获取 WARP Free 网络, 工作模式: 全局 

==============================================================

 IPv4: 104.28.xxx.xxx 日本  Cloudflare, Inc. 
 IPv6: 2602:xxxx::452 日本  Eons Data Communications Limited 
 恭喜!WARP Free 已开启,总耗时:13秒, 脚本当天运行次数:11712,累计运行次数:37764697 
 IPv6 优先 , 工作模式: 全局 

==============================================================

 再次运行用 warp [option] [lisence],如 

 warp h (帮助菜单)
 warp n (获取 WARP IP)
 warp o (临时warp开关)
 warp u (卸载 WARP 网络接口和 Socks5 Client)
 warp b (升级内核、开启BBR及DD)
 warp a (更换账户为 Free,WARP+ 或 Teams)
 warp v (同步脚本至最新版本)
 warp r (WARP Linux Client 开关)
 warp 4/6 (WARP IPv4/IPv6 单栈)
 warp d (WARP 双栈)
 warp c (安装 WARP Linux Client,开启 Socks5 代理模式)
 warp l (安装 WARP Linux Client,开启 WARP 模式)
 warp i (更换支持 Netflix 的IP)
 warp e (安装 Iptables + dnsmasq + ipset 解决方案)
 warp w (安装 WireProxy 解决方案)
 warp y (WireProxy socks5 开关)
 warp k (切换 wireguard 内核 / wireguard-go-reserved)
 warp g (切换 warp 全局 / 非全局)
 warp s 4/6/d (优先级: IPv4 / IPv6 / VPS default)

无回应:“alpine安装warp”

发表评论

电子邮件地址不会被公开。 必填项已用*标注