Open source · GPL-3.0 · powered by sing-box 开源 · GPL-3.0 · 基于 sing-box

Your sing-box server,
beautifully managed.
轻松驾驭你的
sing-box 服务器

2S-UI is a friendly web panel for multi-protocol proxy management — subscriptions, live traffic stats, multi-node clusters and automatic HTTPS, all self-hosted in one place. 2S-UI 是一个对新手友好的 sing-box 网页管理面板——多协议、订阅分发、实时流量统计、多节点集群、自动 HTTPS,全部自托管,一站搞定。

Get started立即安装 GitHub Telegram
stars星标 downloads下载 latest最新版 GPL-3.0

Features核心特性

Everything your panel should do — built in 一个面板该有的,这里都有

No plugins to hunt down, no scripts to babysit. Install once and manage everything from the browser. 不用东拼西凑插件,也不用伺候脚本。装好一次,全部在浏览器里搞定。

Every protocol you need多协议全覆盖

VLESS, VMess, Trojan, Shadowsocks, Hysteria2, TUIC, WireGuard and more — with XTLS support. VLESS、VMess、Trojan、Shadowsocks、Hysteria2、TUIC、WireGuard 等,支持 XTLS。

Multi-node cluster多节点集群

One master panel monitors nodes, shares users and merges every server into a single subscription. 主面板统一监控节点、同步用户,所有服务器合并进同一条订阅链接。

Automatic HTTPS自动 HTTPS 证书

Type a domain, press issue — a free Let's Encrypt certificate is obtained and auto-renewed for you. 输入域名点一下,自动申请并续期免费的 Let's Encrypt 证书。

Auto nginx reverse proxynginx 反代自动配置

Putting the panel behind a proxy? 2S-UI writes, validates and reloads the vhost for you. 面板要放到反向代理后面?vhost 配置自动写好、校验并热加载。

One-click self-update面板内一键升级

On Linux, the panel spots new releases, verifies checksums, smoke-tests the binary and swaps it in place. Linux 上,面板自动发现新版本,校验哈希、试运行通过后原地替换,不用 SSH。

Subscription delivery订阅分发

Share link, JSON or Clash subscriptions with usage info baked in — QR codes included. 链接 / JSON / Clash 订阅随手分享,自带用量信息和二维码。

Traffic stats & limits流量统计与限额

Live charts for clients and inbounds, plus per-user expiry dates and traffic quotas that reset automatically. 图表实时刷新;还能给每个用户设置到期时间和流量配额,并按周期自动重置。

Advanced routing高级路由规则

Drag-and-drop rules, transparent proxy via TUN, TProxy or redirect, and fine-grained DNS control. 拖拽式规则编排,支持 TUN / TProxy / 透明重定向,以及精细的 DNS 控制。

Six languages, two themes六语言 · 双主题

English, 简体中文, 繁體中文, فارسی, Tiếng Việt, Русский — plus dark and light themes that follow your system. 英语、简体中文、繁體中文、波斯语、越南语、俄语共六种语言,明暗主题跟随系统自动切换。

Protocols协议支持

Every protocol sing-box speaks, one clean form away sing-box 支持的协议,这里都能一键配置

From everyday VLESS and Hysteria2 to WireGuard endpoints with per-endpoint latency tests. XTLS supported. Live user updates mean editing a client never drops everyone else's connection. 从常用的 VLESS、Hysteria2,到自带延迟测试的 WireGuard 端点,全部支持,含 XTLS。用户热更新:改一个客户端,不会断掉其他人的连接。

General通用

MixedSOCKSHTTPDirectTunRedirectTProxy

V2Ray basedV2Ray 系

VLESSVMessTrojanShadowsocks

Modern新锐协议

Hysteria2HysteriaTUIC v5ShadowTLSAnyTLSNaive 

Outbound & endpoints出站与端点

WireGuardWARPTailscaleTorSSHSelectorURLTest

† The Naive outbound needs the cronet toolchain — it ships in the Linux amd64, arm64, armv7 and 386 builds. † Naive 出站依赖 cronet 工具链,仅 Linux amd64 / arm64 / armv7 / 386 版本内置。

Multi-node cluster多节点集群

Run many servers. Manage one panel. 服务器再多,也只管一个面板

Add another 2S-UI instance with just its address and an API token — no separate agent to install, because a node is simply another 2S-UI panel. 只需地址和一个 API Token,就能把另一台 2S-UI 加入集群——不用装额外 agent,节点本身就是一台 2S-UI 面板。

Monitor every node节点状态尽收眼底

A 5-second heartbeat shows each node as online, offline or core-stopped. 5 秒心跳,实时区分在线、离线、核心停止三种状态。

Share users across servers用户跨服务器同步

Clients are pushed to nodes and kept in sync; each node's traffic folds back into your counters. 客户端自动推送到各节点并保持同步,流量统计回流主面板。

One subscription, all servers一条订阅,全部服务器

A client's link carries the master's servers and every bound node's servers together. 订阅链接自动带上主面板和所有节点的服务器,无需手动合并。

Master

panel.example.com

online

node-tokyo

198.51.100.4

online

node-frankfurt

203.0.113.9

core-stopped

node-sydney

192.0.2.77

5-second heartbeat · one merged subscription 5 秒心跳监控 · 订阅自动合并

Screenshots界面预览

Made to be looked at daily 每天都要看的界面,值得好看一点

Dark and light themes, six languages, and charts that update live. 明暗双主题、六种语言、实时刷新的图表。

2S-UI dashboard showing system resources, traffic and protocol mix
Dashboard仪表盘 System resources, traffic and protocol mix at a glance. 系统资源、流量与协议占比一目了然。
2S-UI nodes page showing cluster health and per-node sync status
Nodes节点管理 Cluster health and per-node sync status. 集群健康度与各节点同步状态。
2S-UI traffic charts with live throughput and per-client breakdowns
Traffic charts流量图表 Live throughput with per-client breakdowns. 实时吞吐与按客户端的用量明细。
2S-UI domains and certificates settings with one-click Let's Encrypt issuance
Domains & Certificates域名与证书 One-click Let's Encrypt with auto-renewal. 一键签发 Let's Encrypt 证书,自动续期。

Install安装

Up and running in one line 一行命令,开箱即用

Works on Linux, Docker and Windows. Upgrades later are one click inside the panel itself. 支持 Linux、Docker 和 Windows。之后升级只需在面板里点一下。

$ bash <(curl -Ls https://raw.githubusercontent.com/shenaba/2s-ui/main/install.sh)

Panel面板

:2095/app/

Subscription订阅

:2096/sub/

Login默认账号

admin / admin *

* Change the default password right after your first login. 首次登录后请立刻修改默认密码。