# sing-box

> Universal proxy platform for building proxy clients and servers

Source: https://talira.ai/catalog/sing-box-medfm51f
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Mobile app, Desktop app
- Categories: [networking / censorship circumvention](https://talira.ai/categories/networking/censorship-circumvention)
- Platforms: linux, windows, macos, android, ios, docker, cli[^3][^5]
- Licence: GPL-3.0-or-later[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^3]
- API: yes[^4]
- Backed by: [Project S (SagerNet)](https://talira.ai/orgs/sagernet.md)

sing-box is a proxy platform written in Go that runs as either a client or a server from one JSON configuration. Its inbounds include SOCKS, HTTP, Shadowsocks, VMess, VLESS, Trojan, Naive, Hysteria and Hysteria2, TUIC, ShadowTLS, AnyTLS, Snell, TUN, redirect and TProxy, and its outbounds add WireGuard, Tor, SSH, selectors and URL tests. Endpoints cover WireGuard, Tailscale, OpenVPN, OpenConnect and MASQUE. A rule-based router sends traffic by domain, IP, GeoIP, geosite, rule sets and protocol sniffing, with its own DNS client and server (over TLS, QUIC, HTTPS and HTTP/3, plus FakeIP, DHCP and mDNS), multiplexing, V2Ray transports, ACME certificates and Clash- and V2Ray-compatible APIs. It's used to run self-hosted proxy servers for getting around censorship and as the engine of the official sing-box apps for Android, iOS, macOS, Apple tvOS, Windows and Linux. GPL-3.0-or-later, with an added term that derivative works may not use its name.

## Links

- Website: https://sing-box.sagernet.org/
- GitHub: https://github.com/SagerNet/sing-box
- Docs: https://sing-box.sagernet.org/configuration/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/sing-box>[^1]

## Problems it solves

- run my own proxy server that gets through national firewalls
- one client that speaks Shadowsocks, VLESS, Trojan, Hysteria2 and TUIC
- route traffic through different proxies by domain or country rules
- transparent proxy for my whole network or phone with a TUN interface
- self-hosted alternative to a commercial VPN for restricted networks

## Features

- inbounds: SOCKS, HTTP, mixed, Shadowsocks, VMess, VLESS, Trojan, Naive, Hysteria, Hysteria2, TUIC, ShadowTLS, AnyTLS, Snell, TUN, redirect, TProxy
- outbounds: SOCKS, HTTP, Shadowsocks, VMess, VLESS, Trojan, WireGuard, Hysteria, Hysteria2, TUIC, ShadowTLS, AnyTLS, Snell, Tor, SSH, NaiveProxy
- WireGuard, Tailscale, OpenVPN, OpenConnect and MASQUE endpoints
- selector and URL-test outbounds for picking and failing over between proxies
- rule-based routing by domain, IP, GeoIP, geosite, rule sets and protocol sniffing
- built-in DNS with TLS, QUIC, HTTPS, HTTP/3, FakeIP, DHCP, mDNS and DNS rules
- multiplexing, V2Ray transports, UDP over TCP and TCP Brutal
- ACME and Cloudflare Origin CA certificate providers
- Clash API and V2Ray API compatibility
- official graphical clients for Android, iOS, macOS, Apple tvOS, Windows and Linux

## Limitations

- configured through JSON files; the core has no web UI

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- backed by Project S (SagerNet)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Xray-core](https://talira.ai/catalog/xray-core-s5xymkqn.md): Xray, Penetrates Everything: an open platform for proxying and traffic routing
- [Hysteria](https://talira.ai/catalog/hysteria-n7sta20d.md): Fast, censorship-resistant proxy built on a customized QUIC protocol
- [3X-UI](https://talira.ai/catalog/3x-ui-q218mbwe.md): Advanced web panel for managing Xray-core servers

## Sources

[^1]: https://formulae.brew.sh/api/formula/sing-box.json (checked 23 Nov 2026)
[^2]: https://github.com/SagerNet/sing-box/blob/testing/README.md (checked 23 Nov 2026)
[^3]: https://sing-box.sagernet.org/installation/docker/ (checked 23 Nov 2026)
[^4]: https://sing-box.sagernet.org/ (checked 23 Nov 2026)
[^5]: https://sing-box.sagernet.org/clients/ (checked 23 Nov 2026)
