Simplest dashboard for WireGuard VPN written in Python w/ Flask
Find a file
2021-04-07 15:58:00 -04:00
src Update dashboard.py 2021-04-03 23:48:07 +02:00
.gitignore v20210402 2021-04-02 20:48:00 -04:00
LICENSE Initial commit 2020-10-18 01:08:59 -04:00
README.md Update README.md 2021-04-07 15:58:00 -04:00
requirements.txt v20210403.2 2021-04-02 21:12:46 -04:00

Wireguard Dashboard

Monitoring Wireguard is not convinient, need to login into server and type wg show. That's why this platform is being created, to view all configurations in a more straight forward way.

💡Features

  • Add peers in configuration
  • Manage peer names
  • Delete peers
  • And many more coming up! Welcome to contribute to this project!

📝Requirement

  • Ubuntu 18.04.1 LTS, other OS might work, but haven't test yet.
  • ‼️ Make sure you have Wireguard installed.‼️ How to install?
  • Configuration files under /etc/wireguard
  • Python 3.7+ & Pip3
    • To install Python 3 and Pip 3, for example on Debian bases OS (i.e Ubuntu):
    $ sudo apt-get install python3 python3-pip
    

🛠Install

1. Install Python Dependencies

$ python3 -m pip install flask tinydb

2. Install Wireguard Dashboard

$ git clone https://github.com/donaldzou/Wireguard-Dashboard.git
$ cd Wireguard-Dashboard/src
$ python3 dashboard.py

Access your server with port 10086 ! e.g (http://your_server_ip:10086)

3. Install with Production Mode (Optional)

$ cd Wireguard-Dashboard/src
$ export FLASK_APP=dashboard.py
$ export FLASK_RUN_HOST=0.0.0.0
$ export FLASK_ENV=development
$ export FLASK_DEBUG=0
$ flask run

🔍Example

Index Image Conf Image

🙌Contributors