network: add sing-box package (VLESS/Reality tun VPN) - #3111
Open
aumVilohm wants to merge 1 commit into
Open
Conversation
Adds sing-box as a ROCKNIX network package, integrated like tailscale/ zerotier: prebuilt aarch64/x86_64 binary to /usr/sbin, an autostart daemon gated by the singbox.up setting, and a systemd unit. Enabled distro-wide via SINGBOX_SUPPORT. Provides an obfuscation-capable client (VLESS/Reality, AmneziaWG, WireGuard, Shadowsocks, Hysteria2) with tun transparent routing, for networks where plain WireGuard is DPI-blocked.
spycat88
force-pushed
the
next
branch
2 times, most recently
from
August 13, 2026 00:00
c93f6bd to
135d112
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
sing-boxas a ROCKNIX network package, wired in liketailscale/zerotier:/usr/sbin/sing-box(aarch64 + x86_64, SHA256-pinned).daemons/004-sing-box, gated by thesingbox.upsetting.sing-box.service:sing-box checkpre-start, runs-c /storage/.config/sing-box/config.json,Restart=on-failure,CAP_NET_ADMIN/CAP_NET_RAWonly.SINGBOX_SUPPORTdistro-wide, pulled in by thenetworkvirtual package.Why
sing-box is an obfuscation-capable proxy client (VLESS/REALITY, AmneziaWG, WireGuard, Shadowsocks, Hysteria2) with TUN transparent routing. On links where plain WireGuard is DPI-blocked, and where the menu
wg-quickpath is not usable, it is a working way to route the device through a VPN (e.g. to reach Steam/FEX servers for Install Steam on restricted connections).Testing
Built for SM8750, flashed on a KONKR Pocket FIT Elite (AYANEO,
sun):/usr/sbin/sing-boxpresent;sing-box checkpasses a VLESS+REALITY+gRPC TUN config.set_setting singbox.up 1+systemctl start sing-boxbrings the service up; external IP resolves to the VPN exit, tunnel carries traffic and re-arms on boot viasingbox.up.UI toggle
A matching switch in the VPN SERVICES menu: ROCKNIX/emulationstation-next#25