加载中...

宝塔反向代理系统

登录管理后台

{{ error }}

仪表盘

端口转发

{{ status?.port_forwards?.total || 0 }}

{{ status?.port_forwards?.running || 0 }} 个运行中

SOCKS5代理

{{ status?.socks5?.status==='running'?'运行中':'已停止' }}

端口: {{ status?.socks5?.port || 1080 }}

HTTP代理

{{ status?.http?.status==='running'?'运行中':'已停止' }}

端口: {{ status?.http?.port || 8080 }}

服务器

{{ systemInfo?.server_ip || '-' }}

{{ systemInfo?.server_time || '-' }}

快速操作

端口转发管理

名称类型监听端口目标地址状态操作
{{ proxy.name }}{{ proxy.type }}{{ proxy.listen_port }}{{ proxy.target_host }}:{{ proxy.target_port }}{{ proxy.status==='running'?'运行中':'已停止' }}
暂无端口转发规则

代理服务管理

SOCKS5 代理

端口: {{ status?.socks5?.port || 1080 }}

客户端配置:

服务器: {{ systemInfo?.server_ip || '服务器IP' }}
端口: {{ status?.socks5?.port || 1080 }}
用户名: {{ status?.socks5?.username || 'proxy' }}
密码: {{ status?.socks5?.password || '******' }}

HTTP 代理

端口: {{ status?.http?.port || 8080 }}

客户端配置:

服务器: {{ systemInfo?.server_ip || '服务器IP' }}
端口: {{ status?.http?.port || 8080 }}
用户名: {{ status?.http?.username || 'proxy' }}
密码: {{ status?.http?.password || '******' }}

内网穿透

名称服务器端口本地地址状态操作
{{ tunnel.name }}{{ tunnel.remote_port }}{{ tunnel.local_host }}:{{ tunnel.local_port }}{{ tunnel.status==='online'?'在线':'离线' }}
暂无隧道

VPN管理

VPN服务

端口: 1723 (PPTP)

{{ vpnStatus?.running?'运行中':'已停止' }}当前连接: {{ vpnStatus?.connections || 0 }}

Windows连接配置:

服务器: {{ vpnStatus?.server_ip || '-' }}
端口: 1723
类型: PPTP
DNS: 8.8.8.8, 8.8.4.4

Windows连接步骤

  1. 打开设置 → 网络和Internet → VPN
  2. 点击"添加VPN连接"
  3. VPN提供商选择"Windows(内置)"
  4. 服务器地址填写: {{ vpnStatus?.server_ip || '-' }}
  5. VPN类型选择"点对点隧道协议(PPTP)"
  6. 填写用户名和密码,保存连接

VPN用户列表

用户名密码操作
{{ vu.username }}{{ vu.password }}
暂无VPN用户

用户管理

ID用户名角色状态操作
{{ u.id }}{{ u.username }}{{ u.role==='admin'?'管理员':'用户' }}{{ u.status==1?'正常':'禁用' }}

系统设置

修改密码

系统信息

PHP版本{{ systemInfo?.php_version || '-' }}
操作系统{{ systemInfo?.os || '-' }}
服务器IP{{ systemInfo?.server_ip || '-' }}
服务器时间{{ systemInfo?.server_time || '-' }}

添加端口转发规则

创建内网穿透隧道

添加用户

添加VPN用户

{{ message }}