You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The administrator username and password is stored on your server in the following configuration file: /wgdashboard/src/wg-dashboard.ini
If you have forgotten your username and/or password, you can remove the corresponding values from this file and reboot the server in order to have them reset to the default values - "admin"

  1. Connect to your server via SSH

  2. Install Midnight Commander for convenient navigation and file editing:

    apt-get install mc
  3. After MC has been installed, run the following command to access the configuration file:

    mcedit /wgdashboard/src/wg-dashboard.ini
  4. Remove the values from "uername" and/or "password" lines after the "=" sign (mind the spaces)

  5. Save the file by pressing F2

  6. Reboot the server with the reboot command

    reboot
  7. Wait for the server to reboot (can take a couple of minutes), and open your WGdashbopard page

  8. Enter "admin" on the login fields that correspond to the values that you removed (username and/or password)

  9. Once you have successfully logged in, change the username and/or password, in order to keep your server safe, as per the instructions.
  • No labels