Last active
November 22, 2023 09:41
-
-
Save sae13/ac5a18b08b9638896f7ecc4a6fb53b2d to your computer and use it in GitHub Desktop.
update yebekhe config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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