From 3306fc7ee4ae942295fbd04371a8c6951606ef34 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 8 Jul 2026 12:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/TheWelcome.vue | 61 +++++++++++++++++++++----- frontend/src/locales/en.ts | 39 ++++++++++------ frontend/src/locales/zh.ts | 33 +++++++++----- 3 files changed, 98 insertions(+), 35 deletions(-) diff --git a/frontend/src/components/TheWelcome.vue b/frontend/src/components/TheWelcome.vue index 585c292..ae34496 100644 --- a/frontend/src/components/TheWelcome.vue +++ b/frontend/src/components/TheWelcome.vue @@ -10,17 +10,27 @@ const { t } = useI18n() - - {{ t('home.secureTunnelDesc') }} + + {{ t('home.tunnelDesc') }} + + {{ t('home.userManageDesc') }} + + + + @@ -30,22 +40,51 @@ const { t } = useI18n() - - {{ t('home.trafficMonitorDesc') }} + + {{ t('home.dualStackDesc') }} - - {{ t('home.easyConfigDesc') }} + + {{ t('home.reservationDesc') }} + + + + + + {{ t('home.trafficDesc') }} + + + + + + {{ t('home.sessionDesc') }} + + + + + + {{ t('home.deployDesc') }} diff --git a/frontend/src/locales/en.ts b/frontend/src/locales/en.ts index 1e3e1be..61010a4 100644 --- a/frontend/src/locales/en.ts +++ b/frontend/src/locales/en.ts @@ -62,7 +62,7 @@ export default { about: { title: 'About LmVPN', description: - 'LmVPN is a lightweight VPN tunnel management system built with Go + Vue 3. It supports multiple VPN protocols and provides secure and reliable point-to-point and point-to-site networking solutions.', + 'LmVPN is a lightweight Layer-3 VPN system built on WebSocket tunnels and TUN virtual NICs using Go + Vue 3. It supports multi-user management, IPv4/IPv6 dual-stack, static IP reservations, and traffic statistics for point-to-point and point-to-site networking.', }, admin: { title: 'Admin Dashboard', @@ -153,18 +153,31 @@ export default { lastCommit: 'Last commit', }, home: { - tagline: 'Secure, fast, and reliable VPN tunnel management system', - secureTunnel: 'Secure Tunnel', - secureTunnelDesc: - 'Based on WireGuard/OpenVPN protocols with end-to-end encryption to keep your data safe.', - multiDevice: 'Multi-Device Support', + tagline: + 'A lightweight Layer-3 VPN tunnel management system built on WebSocket and TUN virtual NICs', + tunnel: 'WebSocket Tunnel', + tunnelDesc: + 'Layer-3 tunnel over WebSocket and TUN virtual NICs, with WSS/TLS transport security via reverse proxy.', + userManage: 'Multi-User Management', + userManageDesc: + 'Admin and user roles with full user CRUD, enable/disable, and password changes, plus self-protection rules.', + multiDevice: 'Multi-Device Concurrent', multiDeviceDesc: - 'Connect multiple devices simultaneously — phones, computers, and routers all supported.', - trafficMonitor: 'Traffic Monitoring', - trafficMonitorDesc: - 'Real-time traffic statistics and bandwidth analysis to stay on top of network usage.', - easyConfig: 'Easy Configuration', - easyConfigDesc: - 'One-click deployment with auto-configuration — no advanced networking knowledge required.', + 'Up to 3 concurrent connections per user with automatic tunnel IP assignment.', + dualStack: 'IPv4/IPv6 Dual-Stack', + dualStackDesc: + 'Supports both IPv4 and IPv6 subnets with NAT dual-stack forwarding and anti-spoofing.', + reservation: 'Static IP Reservation', + reservationDesc: + 'Reserve fixed IPv4/IPv6 addresses per user with automatic subnet and uniqueness validation.', + traffic: 'Traffic Statistics', + trafficDesc: + 'Real-time online device and traffic statistics with daily aggregated records.', + session: 'Session Management', + sessionDesc: + 'JWT token sessions with self-revocation and admin force-logout, with cascading invalidation.', + deploy: 'One-Click Deploy & Diagnostics', + deployDesc: + 'One-click Linux deployment script with a built-in system environment diagnostics panel.', }, } diff --git a/frontend/src/locales/zh.ts b/frontend/src/locales/zh.ts index 3966481..c055660 100644 --- a/frontend/src/locales/zh.ts +++ b/frontend/src/locales/zh.ts @@ -62,7 +62,7 @@ export default { about: { title: '关于 LmVPN', description: - 'LmVPN 是一款轻量级 VPN 隧道管理系统,采用 Go + Vue 3 技术栈构建。支持多种 VPN 协议,提供安全可靠的点对点与点对站点网络连接方案。', + 'LmVPN 是一款基于 WebSocket 隧道与 TUN 虚拟网卡的轻量级三层 VPN 系统,采用 Go + Vue 3 构建。支持多用户管理、IPv4/IPv6 双栈、静态 IP 预留与流量统计,提供点对点与点对站点网络连接方案。', }, admin: { title: '管理后台', @@ -152,15 +152,26 @@ export default { lastCommit: '最后提交', }, home: { - tagline: '安全、快速、可靠的 VPN 隧道管理系统', - secureTunnel: '安全隧道', - secureTunnelDesc: - '基于 WireGuard/OpenVPN 协议,端到端加密传输,保障数据安全无泄漏。', - multiDevice: '多设备支持', - multiDeviceDesc: '同时连接多台设备,手机、电脑、路由器全平台覆盖。', - trafficMonitor: '流量监控', - trafficMonitorDesc: '实时流量统计与带宽分析,随时掌握网络使用状况。', - easyConfig: '简易配置', - easyConfigDesc: '一键部署、自动配置,无需复杂网络知识即可上线。', + tagline: '基于 WebSocket 与 TUN 虚拟网卡的轻量级三层 VPN 隧道管理系统', + tunnel: 'WebSocket 隧道', + tunnelDesc: + '基于 WebSocket 与 TUN 虚拟网卡的三层隧道,经反向代理提供 WSS/TLS 传输安全。', + userManage: '多用户管理', + userManageDesc: + '管理员与普通角色,支持用户增删改、启用禁用与改密,内置自保护规则。', + multiDevice: '多设备并发', + multiDeviceDesc: '每用户最多 3 个并发连接,自动分配隧道 IP 地址。', + dualStack: 'IPv4/IPv6 双栈', + dualStackDesc: '同时支持 IPv4 与 IPv6 子网,NAT 双栈转发与源地址反欺骗。', + reservation: '静态 IP 预留', + reservationDesc: + '按用户预留固定 IPv4/IPv6 地址,自动校验子网合法性与唯一性。', + traffic: '流量统计', + trafficDesc: '实时统计在线设备与流量,按日聚合记录网络使用状况。', + session: '会话管理', + sessionDesc: + 'JWT 令牌会话,支持自行注销与管理员强制下线,状态变更级联失效。', + deploy: '一键部署与诊断', + deployDesc: 'Linux 一键脚本部署,内置系统环境检测面板快速定位问题。', }, }