Skip to content

wy580477/sing-warp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sing-warp

基于 sing-box 核心的一键 WARP 解锁脚本,支持 HK / 美西 等 wgcf 无法连接的地区。已支持在仅有 ipv6 网络环境下安装。

强制重新解析域名到 ipv6 加强解锁效果。

WARP 解锁效果示例

image

支持 amd64 / arm64 架构。 理论上支持各种使用 systemd 的 Linux 发行版。

默认提供本地 socks 代理入口、 ShadowSocks 、Vmess Websocket 代理协议(支持 WS-0RTT)。

可启用 TUN 透明代理模式,此模式下无需额外设置即可接管流量。

注意: TUN 模式不支持 OPENVZ / LXC 等容器类 VPS。

安装

sudo -i
bash <(curl -L https://raw.githubusercontent.com/wy580477/sing-warp/main/install.sh) 

使用

使用 "systemctl" 命令控制 sing-warp 服务,例如:

systemctl start sing-warp # 启动 sing-warp 服务
systemctl stop sing-warp # 停止 sing-warp 服务
systemctl restart sing-warp # 重启 sing-warp 服务
systemctl status sing-warp # 查看 sing-warp 运行状态

配置

sing-warp 配置文件位于 /opt/sing-warp/config,可使用文本编辑器进行修改分流模式、分流规则等。

WARP 配置文件位于 /opt/sing-warp/warp.conf,默认由 warp-reg 自动生成,可自行修改。

ShadowSocks 和 Vmess Websocket 代理协议配置文件位于 /opt/sing-warp/proxy_config,可使用文本编辑器进行修改。

sing-box 配置文件位于 /opt/sing-warp/config.json, 可在 inbounds 部分自行添加代理协议入站。

卸载

systemctl disable --now sing-warp && rm -rf /opt/sing-warp && rm -f /etc/systemd/system/sing-warp.service

About

基于 sing-box 核心的一键 WARP 脚本

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages