Access
- 打开浏览器,访问:
http://<server-ip>:10086 - 初始登录凭据:
admin:admin
Services
WGDashboard 和 WireGuard 服务通过以下方式管理: systemd:
systemctl status wg-dashboard
重要文件与目录
/root/WGDashboard/. WGDashboard source and scripts/etc/systemd/system/wg-dashboard.service, WGDashboard 的 systemd 单元/etc/wireguard/. WireGuard 配置与密钥/etc/sysctl.conf、系统 IP 转发设置/etc/iptables/rules.v4. NAT 规则已由以下用户保存:iptables-persistent
Firewall / NAT
IP forwarding is enabled:
net.ipv4.ip_forward = 1
NAT 通过 iptables 配置,用于出站流量的转发 eth0:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
netfilter-persistent save
确保所需端口已开放:
- 51820/UDP. WireGuard VPN
- 10086/TCP. WGDashboard web interface