WGDashboard

A simple and easy-to-use dashboard for WireGuard VPN.

Access

  • Open a browser and navigate to: http://<server-ip>:10086
  • Initial login credentials: admin:admin

Services

WGDashboard and WireGuard services are managed via systemd:

systemctl status wg-dashboard

Important Files and Directories

  • /root/WGDashboard/ — WGDashboard source and scripts
  • /etc/systemd/system/wg-dashboard.service — systemd unit for WGDashboard
  • /etc/wireguard/ — WireGuard configuration and keys
  • /etc/sysctl.conf — system IP forwarding settings
  • /etc/iptables/rules.v4 — NAT rules saved by iptables-persistent

Firewall / NAT

IP forwarding is enabled:

net.ipv4.ip_forward = 1

NAT is configured via iptables for outgoing traffic through eth0:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
netfilter-persistent save

Ensure the required ports are open:

  • 51820/UDP — WireGuard VPN
  • 10086/TCP — WGDashboard web interface

Application Details