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, systemd unit สำหรับ WGDashboard/etc/wireguard/. WireGuard การตั้งค่าและคีย์/etc/sysctl.conf, การตั้งค่า IP Forwarding ของระบบ/etc/iptables/rules.v4. NAT rules บันทึกโดย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 เว็บอินเทอร์เฟซ