Add 3x-ui VLESS configs and guest access without registration.

Guests can open a public link to view or create VPN configs; panel creates VLESS clients via the 3x-ui API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 01:15:24 +03:00
co-authored by Cursor
parent 2196d127b7
commit 5386c4d40e
12 changed files with 1512 additions and 39 deletions
+29
View File
@@ -168,6 +168,32 @@
"enable_public_access": "启用公开访问",
"share_password_label": "密码 (可选)",
"share_password_hint": "如设置,访问者需输入密码",
"guest_settings_title": "访客访问",
"guest_enable": "启用访客访问(无需注册)",
"guest_enable_hint": "登录页显示公开链接。访客可查看所选用户的连接,并可选择新建配置。",
"guest_link_label": "访客链接",
"guest_link_placeholder": "保存设置以生成链接",
"guest_regen_token": "重新生成链接",
"guest_regen_confirm": "重新生成访客链接?旧链接将失效。",
"guest_token_updated": "访客链接已更新",
"guest_user_label": "访客连接所属用户",
"guest_user_none": "— 选择用户 —",
"guest_user_hint": "创建普通用户(如 guest)并分配 VPN 连接。",
"guest_password_label": "访客密码(可选)",
"guest_password_keep": "留空以保留当前密码",
"guest_clear_password": "取消密码保护",
"guest_allow_create": "允许访客创建新配置",
"guest_allow_create_hint": "为访客用户创建配置(3x-ui VLESS 或所选服务器协议)。",
"guest_access_btn": "以访客继续",
"guest_access_login_hint": "无需账号",
"guest_title": "访客访问",
"guest_subtitle": "无需注册即可获取 VPN 配置",
"guest_protected_desc": "此页面受密码保护。",
"guest_get_config": "获取配置",
"guest_get_config_hint": "将为您创建新的 VPN 配置",
"guest_not_found": "404 未找到",
"guest_not_found_desc": "访客访问已禁用或链接无效。",
"wrong_guest_password": "密码错误",
"public_link_label": "公开链接",
"disabled": "已禁用",
"out_of": "/",
@@ -219,6 +245,9 @@
"xui_username_label": "3x-ui 用户名",
"xui_password_label": "3x-ui 密码",
"xui_sync_hint": "3x-ui 客户端将按 email 同步为面板用户",
"xui_inbound_label": "VLESS 入站",
"xui_inbound_auto": "自动(第一个 VLESS 入站)",
"xui_inbound_hint": "创建 3x-ui VLESS 配置时使用。请先在 3x-ui 中创建 VLESS 入站。",
"sync_now_btn": "🔄 立即同步",
"delete_sync_btn": "🗑 删除同步数据",
"auto_create_conns": "自动创建连接",