Access
- Mở trình duyệt và điều hướng đến:
http://<server-ip>:10086 - Thông tin đăng nhập ban đầu:
admin:admin
Services
Dịch vụ WGDashboard và WireGuard được quản lý qua systemd:
systemctl status wg-dashboard
Các tệp và thư mục quan trọng
/root/WGDashboard/. WGDashboard source and scripts/etc/systemd/system/wg-dashboard.service, systemd unit cho WGDashboard/etc/wireguard/. WireGuard configuration and keys/etc/sysctl.conf, cài đặt chuyển tiếp IP hệ thống/etc/iptables/rules.v4. Quy tắc NAT đã được lưu bởiiptables-persistent
Firewall / NAT
IP forwarding is enabled:
net.ipv4.ip_forward = 1
NAT được cấu hình qua iptables cho lưu lượng ra ngoài thông qua eth0:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
netfilter-persistent save
Đảm bảo các cổng cần thiết đã được mở:
- 51820/UDP. WireGuard VPN
- 10086/TCP. Giao diện web WGDashboard