sing-box

Open source

A configurable universal proxy platform written in Go, with rule-based routing, DNS handling, support for several proxy protocols and graphical clients.

sing-box.sagernet.org
sing-box homepage screenshot
GitHub stars
40k
Last 30 days
+1.1k(+3%)
Last commit
3 days ago
Repository age
4 years
Version
v1.14.4
Licence
Custom
Self-hosted
Yes

About sing-box

sing-box is a universal proxy platform written in Go. Its documentation site describes installation through package managers, Docker or building from source, graphical clients for Android, Apple platforms and desktop, and a manual covering both server and client configuration. GitHub lists the license as 'Other', so check the repository for the terms.

The configuration is JSON based and organized into sections for logging, DNS, NTP, certificates, routing and experimental features. DNS supports many server types and rules, including FakeIP, and routing covers GeoIP, Geosite, rule sets, protocol sniffing and rule actions. The proxy section documents protocols such as Shadowsocks, Trojan, Hysteria 2 and AnyTLS, and the experimental section includes Clash API and V2Ray API compatibility.

A JSON schema is available for editors, and a changelog and migration guides help when upgrading between versions. Because it is flexible and low level, sing-box suits advanced users, network administrators and developers who want to build custom proxy setups, and who are comfortable reading configuration documentation.

Key features

  • Multiple proxy protocols including Shadowsocks and Trojan
  • Rule-based routing with GeoIP and rule sets
  • Flexible DNS configuration with FakeIP
  • JSON configuration with schema support
  • Graphical clients for Android, Apple and desktop
  • Clash API and V2Ray API compatibility

Good fit for

  • Custom proxy and routing setups
  • Client and server configuration for advanced users
Built with
Go tools
Tags
proxy
networking
routing
dns
golang
shadowsocks
trojan
proxy-platform

sing-box: questions and answers

What is sing-box used for?
sing-box is a configurable universal proxy platform written in Go, with rule-based routing, DNS handling, support for several proxy protocols and graphical clients. It is a good fit for custom proxy and routing setups, and client and server configuration for advanced users.
Is sing-box open source?
Yes. sing-box is open source under a custom licence. Its source code is on GitHub at SagerNet/sing-box and is written mainly in Go.
Is sing-box free?
Yes. sing-box is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host sing-box?
Yes. sing-box can be self-hosted on your own server or infrastructure; there is no official hosted version.
What are some alternatives to sing-box?
Similar open-source tools in the Networking & VPN category include NetBird, AdGuard Home and CoreDNS. SaaS products in the same category include Cloudflare, Amazon Route 53 and Cisco Meraki.
Is sing-box actively maintained?
Yes. The most recent commit to sing-box was on 10 November 2026, and the latest release is v1.14.4, published on 24 October 2026. The project has 40k stars on GitHub, with 1.1k added in the last 30 days.

Open-source alternatives to sing-box

See all

SaaS alternatives to sing-box

See all