Skip to content

ahhfzwl/sing-box

 
 

Repository files navigation

卸载(ubuntu):

bash <(curl -Ls https://raw.by.now.cc/ahhfzwl/sing-box/main/sing-box.sh) del

安装(ubuntu):

bash <(curl -Ls https://raw.by.now.cc/ahhfzwl/sing-box/main/sing-box.sh) add

WARP账户:

https://fscarmen.cloudflare.now.cc/

手动安装sing-box:

wget "$(curl -s https://api.github.com/repos/SagerNet/sing-box/releases/latest | grep -o "https://github.com/SagerNet/sing-box/releases/download/.*/sing-box-.*-linux-$(uname -m | sed 's/x86_/amd/; s/aarch/arm/').tar.gz" | sort -V | head -n 1)"

tar -zxvf sing-box-*

mv ./sing-box-*/sing-box /usr/local/bin/

rm -rf sing-box-*

mkdir /etc/sing-box && wget -O /etc/sing-box/config.json https://raw.by.now.cc/ahhfzwl/sing-box/main/config.json

wget -O /etc/init.d/sing-box https://raw.by.now.cc/ahhfzwl/sing-box/main/sing-box && chmod +x /etc/init.d/sing-box

sed -i '6s/8080/8080/' /etc/sing-box/config.json

setsid sing-box run -c /etc/sing-box/config.json > /dev/null 2>&1 &

About

The universal proxy platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%