S5Panel

SOCKS5 订阅管理系统

仪表盘

系统概览与数据监控

总计

{{ stats.total_users }}

注册用户

{{ Math.round(stats.active_users / stats.total_users * 100) }}%

{{ stats.active_users }}

活跃用户

{{ stats.online_nodes }}/{{ stats.total_nodes }}

{{ stats.online_nodes }}

在线节点

今日

{{ formatTraffic(stats.total_traffic_today) }}

今日流量

累计

{{ formatTraffic(stats.total_traffic_all) }}

总流量

{{ stats.total_plans }}

套餐数量

!

{{ stats.frozen_users || 0 }}

冻结用户

{{ stats.expired_users || 0 }}

已过期用户

7日流量趋势

最近7天
{{ formatTraffic(item.traffic) }}
{{ formatTraffic(item.traffic) }}
{{ item.date }}
暂无数据

节点状态

查看全部
{{ node.name }} x{{ (node.rate / 10).toFixed(1) }}
{{ nodeStats[node.id].user_count }}人 {{ node.online ? '在线' : '离线' }}
暂无节点

最近注册

查看全部
{{ u.username.charAt(0).toUpperCase() }}

{{ u.username }}

ID: {{ u.id }}

{{ formatTimeAgo(u.created_at) }}
暂无用户

IP超限报警

管理

{{ alert.username }}

{{ alert.socks_username }}

{{ alert.ip_count }} IPs

上限 {{ alert.max_ip_count }}

暂无报警

节点管理

管理代理节点与中转配置

排序 名称 地址 倍率 用户/流量 中转 状态 操作
{{ node.name }} ({{ node.parent_name }}) {{ node.ip }}:{{ node.port }} x{{ (node.rate / 10).toFixed(1) }} {{ nodeStats[node.id].user_count }}人 / {{ formatTraffic(nodeStats[node.id].total_traffic) }} {{ nodeStats[node.parent_id].user_count }}人 / {{ formatTraffic(nodeStats[node.parent_id].total_traffic) }} - {{ node.relay_ip }}:{{ node.relay_port }} -
{{ node.online ? '在线' : '离线' }} {{ formatTimeAgo(node.last_heartbeat) }}
暂无节点
共 {{ nodes.length }} 条
{{ nodesPage }} / {{ nodesTotalPages }}

套餐管理

配置订阅套餐与流量策略

ID 名称 流量 时长 节点数 状态 操作
{{ plan.id }} {{ plan.name }} {{ plan.traffic_limit }} GB {{ plan.duration_days }} 天 {{ plan.node_ids.length }} 个 {{ plan.is_active ? '启用' : '停用' }}
暂无套餐
共 {{ plans.length }} 条
{{ plansPage }} / {{ plansTotalPages }}

用户管理

管理用户账号与订阅

ID 用户名 SOCKS账户 套餐 流量 到期 状态 操作
{{ user.id }} {{ user.username }} {{ user.socks_username }} {{ user.current_subscription.plan_name }}
{{ user.current_subscription.traffic_used }} {{ user.current_subscription.traffic_limit }} GB
-
{{ formatDate(user.current_subscription.expire_time) }} - 流量用尽 冻结 禁用 正常
暂无用户
共 {{ users.length }} 条
{{ usersPage }} / {{ usersTotalPages }}

系统设置

配置系统参数与安全选项

修改密码

账号配置

短时间内超过此数量则自动冻结

在此时间窗口内统计独立IP数量

普通冻结的持续时长

超过后长期冻结

超过次数后的冻结天数

IP超限报警

暂无超限用户
{{ alert.username }} {{ alert.ip_count }} IP 已封禁

系统日志

时间 级别 模块 消息
{{ formatDateTime(log.created_at) }} {{ log.level }} {{ log.module }} {{ log.message }}
暂无日志

{{ nodeForm.id ? '编辑节点' : '添加节点' }}

选择父节点后,此节点将作为子节点,共享父节点的认证和在线状态

{{ planForm.id ? '编辑套餐' : '添加套餐' }}

暂无节点

{{ userForm.id ? '编辑用户' : '添加用户' }}

开通套餐 - {{ subscribeForm.username }}

订阅信息 - {{ subInfo.username }}

节点对接信息 - {{ nodeKeyInfo.name }}

wget {{ baseUrl }}/api/node/download/linux_amd64 -O s5node-{{ nodeKeyInfo.port }} && chmod +x s5node-{{ nodeKeyInfo.port }} && ./s5node-{{ nodeKeyInfo.port }} install -api-key={{ nodeKeyInfo.api_key }} -panel-url={{ baseUrl }} -port={{ nodeKeyInfo.port }}

同一服务器可运行多个实例,每个实例使用不同端口。管理命令: systemctl status s5node-{{ nodeKeyInfo.port }}

用户管理 - {{ userEditForm.username }}

连接IP记录 - {{ userIPsInfo.username }} ({{ userIPsInfo.unique_ips }}个独立IP)

IP地址 节点 连接时间
{{ log.client_ip }} {{ log.node_id }} {{ formatDateTime(log.connected_at) }}
暂无连接记录

用户详情 - {{ userDetail.username }}

基本信息

用户名:
状态: 冻结中 已禁用 正常
SOCKS用户名: {{ userDetail.socks_username }}
SOCKS密码: {{ userDetail.socks_password }}
订阅链接:
创建时间: {{ formatDateTime(userDetail.created_at) }}
备注:

IP检测 / 冻结信息

冻结状态: 冻结中 未冻结
解冻时间: {{ formatDateTime(userDetail.frozen_until) }}
冻结次数: {{ userDetail.freeze_count }} / {{ userDetail.max_freeze_count }}
上次冻结: {{ formatDateTime(userDetail.last_freeze_at) }}
独立IP数: {{ userDetail.unique_ips }}

订阅信息

当前套餐: {{ userDetail.current_subscription.plan_name }}
状态: {{ userDetail.current_subscription.is_active ? '有效' : '已停用' }}
流量: {{ userDetail.current_subscription.traffic_used_gb }} / {{ userDetail.current_subscription.traffic_limit_gb }} GB
到期时间: {{ formatDateTime(userDetail.current_subscription.expire_time) }}
暂无活跃订阅

历史订阅 ({{ userDetail.all_subscriptions.length }}条)

{{ sub.plan_name }} {{ sub.traffic_used_gb }}/{{ sub.traffic_limit_gb }}GB {{ sub.is_active ? '有效' : '失效' }}

IP连接记录 ({{ userDetail.unique_ips }}个独立IP)

IP地址 节点 时间
{{ log.client_ip }} {{ log.node_id }} {{ formatDateTime(log.connected_at) }}
暂无连接记录

批量生成用户

* 批量生成的用户将自动开通所选套餐

* 套餐到期时间从首次访问订阅链接时开始计算

生成结果 ({{ batchGenerateResult.length }}个)
{{ user.subscribe_url }}
{{ toast.message }}