Skip to content

Instantly share code, notes, and snippets.

@sae13
Last active November 22, 2023 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sae13/ac5a18b08b9638896f7ecc4a6fb53b2d to your computer and use it in GitHub Desktop.
Save sae13/ac5a18b08b9638896f7ecc4a6fb53b2d to your computer and use it in GitHub Desktop.
update yebekhe config
curl -s -L -o /tmp/ybkh.json https://69b.ir/ybkh;
sed -i 's|//.*||g' /tmp/ybkh.json;
sed -i 's|"listen_port": 2080,|"listen_port": 13741,|g' /tmp/ybkh.json;
sed -i 's|"level": "fatal",|"level": "debug","output": "box.log" ,|p' /tmp/ybkh.json ;
jq 'del(.inbounds[] | select(.tag=="tun-in"))' /tmp/ybkh.json > /tmp/ybkh.json.json;
kill -HUP "$(pgrep sing-box)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment