The administrator username and password is stored on your server in the following configuration file: /wgdashboard/src/wg-dashboard.ini
You can reset the credentials to the default admin/admin by following these steps:

  1. Connect to your server via SSH

  2. Execute the following command (you can paste it into your SSH client):

    sed -i '2 c\username = admin' /wgdashboard/src/wg-dashboard.ini && sed -i '3 c\password = 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918' /wgdashboard/src/wg-dashboard.ini && systemctl restart wg-dash
    
  3. Wait for WGDashboard to reset (it should take under a minute).

  4. Head over to your WGDashboard page, and use "admin" for both the uername and password.

  5. Once logged in, change your username and password, as per the Wireguard template instructions.

  • No labels