Sing-box笔记

官方站点:https://sing-box.sagernet.org/zh/ 使用版本:1.7.8 安装Ubuntu:bash <(curl -fsSL https://sing-box.app/deb-install.sh) 安装Centos:bash <(curl -fsSL https://sing-box.app/rpm-install.sh)  服务管理 对于带有 systemd 的 Linux 系统,通常安装已经包含 sing-box 服务, 您可以使用以下命令管理服务: 行动命令启用sudo systemctl enable sing-box禁用sudo systemctl disable sing-box启动sudo systemctl start sing-box停止sudo systemctl stop sing-box强行停止sudo systemctl kill sing-box重新启动sudo systemctl restart sing-box查看日志sudo journalctl -u sing-box --output cat -e实时日志sudo journalctl -u sing-box --output cat -fgeo.db目录/var/lib/sing-box/配置路径/etc/sing-box/ Client端配置(IPv4分流、Tun模式、支持atv旁路、支持atv组播) { "log": { "level": "warn", "timestamp": true }, "dns": { "servers": [ { "tag": "localDns", "address": "tls://223.6.6.6", "detour": "direct" }, { "tag": "proxyDns", "address": "tls://8.8.4.4", "detour": "h2-out" }, { "tag": "block", ...
阅读更多