feat(client): add authorized WireGuard device enrollment and desktop connection

This commit is contained in:
opsx committed 2026-10-21 14:53:55 +08:00
1 parent d2f1f5040e
commit 6dd3c7dd45
25 files changed
+3274 -131

No files matched your search

+16
View File
@@ -334,6 +334,7 @@
},
"users": {
"title": "User Management",
"clientLoginHint": "These accounts sign in to the admin console. Desktop VPN clients use VPN dial-in users assigned to a WireGuard line.",
"batchImport": "Batch Import",
"ldapImport": "LDAP Import",
"addUser": "Add User",
@@ -396,6 +397,20 @@
"emptyUsername": "(empty)",
"errorDetails": "Error details:"
},
"clientDevices": {
"title": "Client Devices",
"hint": "Devices registered by desktop/mobile clients; revocation takes effect immediately",
"deviceName": "Device",
"platform": "Platform",
"tunnel": "Line",
"address": "Assigned IP",
"lastHandshake": "Last Handshake",
"revoked": "Revoked",
"revoke": "Revoke",
"revokeConfirm": "The device will be disconnected immediately and cannot reconnect. Continue?",
"revokeDone": "Device revoked",
"empty": "No client devices registered"
},
"vpnUsers": {
"title": "VPN Dial-in Users",
"mfaHint": "OpenVPN Two-Factor Auth (TOTP / Static Challenge / PIN+OTP)",
@@ -718,6 +733,7 @@
"nodes": "Nodes",
"users": "Users",
"vpnUsers": "VPN Dial-in Users",
"clientDevices": "Client Devices",
"plugins": "Protocol Plugins",
"settings": "Settings",
"logs": "Log Center",
+16
View File
@@ -334,6 +334,7 @@
},
"users": {
"title": "管理用户",
"clientLoginHint": "此处账号用于登录管理后台;桌面 VPN 客户端请使用“VPN 拨号用户”中的账号,并分配 WireGuard 专线。",
"batchImport": "批量导入",
"ldapImport": "LDAP 导入",
"addUser": "添加用户",
@@ -396,6 +397,20 @@
"emptyUsername": "(空)",
"errorDetails": "失败详情:"
},
"clientDevices": {
"title": "客户端设备",
"hint": "桌面/移动客户端登记的接入设备;撤销后立即失去接入能力",
"deviceName": "设备名",
"platform": "平台",
"tunnel": "所属线路",
"address": "分配地址",
"lastHandshake": "最近握手",
"revoked": "已撤销",
"revoke": "撤销",
"revokeConfirm": "撤销后该设备立即断开且无法重连,确认撤销?",
"revokeDone": "设备已撤销",
"empty": "暂无客户端设备登记"
},
"vpnUsers": {
"title": "VPN 拨号用户",
"mfaHint": "OpenVPN 双因素认证(TOTP / 静态挑战 / PIN+OTP)",
@@ -718,6 +733,7 @@
"nodes": "节点管理",
"users": "用户管理",
"vpnUsers": "VPN 拨号用户",
"clientDevices": "客户端设备",
"plugins": "协议插件",
"settings": "系统设置",
"logs": "日志中心",