Skip to content

sing-box 是一个多协议代理服务框架的瑞士军刀,设计用于轻量、灵活的网络代理与数据传输任务。

License

Notifications You must be signed in to change notification settings

passeway/sing-box

Repository files navigation

终端预览

preview

一键脚本

bash <(curl -fsSL sing-box-sigma.vercel.app)

项目简介

  • 输出客户端配置 url 方便快速设置

  • 自带 wireguard 出站解锁 openai netflix disney

  • 安装 sing-box 配置 hy2 vless ss2022+shadowtls

安装 sing-box

下载sing-box

bash <(curl -fsSL https://sing-box.app/deb-install.sh)

修改/etc/sing-box/config.json

nano /etc/sing-box/config.json

查看config.json

cat /etc/sing-box/config.json

检查config.json

sing-box check -c /etc/sing-box/config.json

启动config.json

sing-box run -c /etc/sing-box/config.json

启动系统服务

systemctl enable sing-box

启动sing-box

systemctl start sing-box

停止sing-box

systemctl stop sing-box

重启sing-box

systemctl restart sing-box

查看sing-box

systemctl status sing-box

查看sing-box日志

cat /var/log/singbox.log

实时sing-box日志

tail -f /var/log/singbox.log

解码openai.srs

sing-box rule-set decompile geosite-openai.srs

卸载 sing-box

禁用sing-box

systemctl stop sing-box.service
systemctl disable sing-box.service

卸载sing-box

dpkg --purge sing-box

删除sing-box

rm -rf /etc/sing-box
rm -f /var/log/singbox.log

重载systemd

systemctl daemon-reload

About

sing-box 是一个多协议代理服务框架的瑞士军刀,设计用于轻量、灵活的网络代理与数据传输任务。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages