3、安装Sing-box 下载Sing-box源文件 wget https://github.com/SagerNet/sing-box/releases/download/v1.6.2/sing-box-1.6.2-linux-amd64.tar.gz 解压下载好的文件 tar -zxvf sing-box-1.6.2-linux-amd64.tar.gz 4、创建并设置配置文件 进入Sing-box文件夹 cd /root/sing-box-1.6.2-linux-amd64 分别...
feat(脚本): 修改sing-boxIPv6分流、优化sing-box geosite.db文件 1 parent 922d9c8 commit 6f34001 File treeREADME.md install.sh2 files changed +64 -39lines changedREADME.md +38-19 Original file line numberDiff line numberDiff line change @@ -1,4 +1,4 @@...
ruleset_geodata@clash/Country-ASN.mmdb # 适用于 sing-box 内核 curl -o $CRASHDIR/geosite.db -L https://cdn.jsdelivr.net/gh/unmoe/ruleset_geodata@sing-box/geosite.db curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/unmoe/ruleset_geodata@sing-box/geoip.db $CRASHDIR/...
{"type":"dns","tag":"dns"}],"route":{"geoip":{"download_url":"https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db","download_detour":"vless-out"},"geosite":{"download_url":"https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db","downloa...
程序 /usr/local/bin/sing-box 配置 /usr/local/etc/sing-box/config.json geoip /usr/local/share/sing-box/geoip.db geosite /usr/local/share/sing-box/geosite.db 热载 systemctl reload sing-box 重启 systemctl restart sing-box 状态 systemctl status sing-box 查看日志 journalctl -u sing-box ...
3)重启sing-box:配置检查通过后,可以使用脚本中的重启功能重启sing-box,观察sing-box是否正常工作,请确保其正常工作 4)下载客户端:请根据运行环境自行下载客户端,解压获得可执行文件 5)下载geo数据:客户端运行需要geoip.db,geosite.db文件,请手动下载geo数据放入与sing-box执行文件同级目录下 ...
程序/usr/local/bin/sing-box 配置/root/sing-box_config.json geoip/root/geoip.db geosite/root/geosite.db 热载systemctl reload sing-box 重启systemctl restart sing-box 状态systemctl status sing-box 查看日志journalctl -u sing-box -o cat -e ...
内网访问 --[sing-box入站(tun)]--> sing-box --[sing-box出站]--> --[clash入站(socks5h://127.0.0.1:1081)]--> clash --[clash出站(socks5h://172.17.225.171:1080)]--> WSL[->docker] ' 在最后原本由浏览器发起的访问请求会被视作由clash内核发起,因此会重新经过sing-box的tun入站(图示...
sing-box-geosite 在links.txt添加规则集,自动生成 sing-box Source Format。fork后自己添加想要转换的规则集,请生成token填写到仓库设置里让GitHub Actions有权限修改你的仓库 规则集源文件写法eg: { "tag": "geosite-wechat", "type": "remote", "format": "source", "url": "https://raw.githubusercont...
程序/usr/local/bin/sing-box 配置/root/sing-box_config.json geoip/root/geoip.db geosite/root/geosite.db 热载systemctl reload sing-box 重启systemctl restart sing-box 状态systemctl status sing-box 查看日志journalctl -u sing-box -o cat -e ...