Install Sing-Box

Anyone know how to install sing-box on glinet routers? I have the X3000.

thanks

Seems to be not available for OpenWrt, so no way to install it.

I think there is?
https://pkgs.staging.openwrt.org/package/openwrt-23.05/packages/arm_fa526/sing-box

Seems the sing-box plugins does not support openwrt version 21.02, but 23. Please contact with software developer/owner.

will GL.iNet routers have 23 in future?

GL-X3000 has openwrt vanilla firmware now OpenWrt Firmware Selector

But our default firmware will stay in 21 for a while.

For beryl ax3000 that package is not available either for openwrt vesions below 22.0.

So I've just gone ahead and grabbed linux arm64 version from their releases here

Seems to work fine so far.

If I'm not mistaken, GL-X3000 is mediatek
MT7981A which is mips.. ? Not advising anything try it at your own risk.

is there an ETA when our default firmware will be on 23?

it's ARMv8 Processor rev 4 :slight_smile:

would you mind sharing how you implement your sing-box solution?

Here is the binary for linux/armv8

https://github.com/SagerNet/sing-box/releases/download/v1.10.0/sing-box-1.10.0-linux-amd64.tar.gz

Download it, unpack (I did it via wget right in the ssh session connected to the device). Put the extracted executable into, say, /etc/sing-box.
Then you may want to create a service file under /etc/init.d/ e.g. sing-box - to enable autostart (see examples in that directory).

Also I know that previous versions of sing-box used to require kmod-netlink-diag module. So I installed it too.

Then create your config json and away you go.

1 Like