2021-04-06 02:41:55 +00:00
< h1 align = "center" > Wireguard Dashboard< / h1 >
2021-04-07 16:15:45 +00:00
< p align = "center" >
< img src = "http://ForTheBadge.com/images/badges/made-with-python.svg" >
< / p >
< p align = "center" >
< img src = "https://img.shields.io/github/v/release/donaldzou/wireguard-dashboard" >
< / p >
2021-04-06 20:51:37 +00:00
< p align = "center" > Monitoring Wireguard is not convinient, need to login into server and type < code > wg show< / code > . That's why this platform is being created, to view all configurations in a more straight forward way.< / p >
2021-04-03 01:12:46 +00:00
## 💡Features
- Add peers in configuration
- Manage peer names
- Delete peers
- And many more coming up! Welcome to contribute to this project!
## 📝Requirement
2020-10-23 21:51:11 +00:00
- Ubuntu 18.04.1 LTS, other OS might work, but haven't test yet.
2021-04-06 19:03:49 +00:00
- ‼️ Make sure you have **Wireguard** installed.‼️ < a href = "https://www.wireguard.com/install/" > How to install?</ a >
2020-10-18 06:09:14 +00:00
- Configuration files under ** /etc/wireguard**
- Python 3.7
2021-04-03 01:12:46 +00:00
## 🛠Install
2021-04-06 19:03:49 +00:00
2021-04-03 01:12:46 +00:00
**1. Install Python Dependencies**
```
2021-04-03 01:15:28 +00:00
$ python3 -m pip install flask tinydb
2021-04-03 01:12:46 +00:00
```
**2. Install Wireguard Dashboard**
```
2021-04-03 01:14:51 +00:00
$ git clone https://github.com/donaldzou/Wireguard-Dashboard.git
2021-04-03 01:15:28 +00:00
$ cd Wireguard-Dashboard/src
$ python3 dashboard.py
2021-04-03 01:12:46 +00:00
```
Access your server with port `10086` ! e.g (http://your_server_ip:10086)
**3. Install with Production Mode (Optional)**
```
2021-04-03 01:15:28 +00:00
$ 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
2021-04-03 01:12:46 +00:00
```
2020-10-18 06:09:14 +00:00
2021-04-03 01:12:46 +00:00
## 🔍Example
2020-10-22 00:30:16 +00:00

2021-04-03 01:14:51 +00:00

2021-04-06 23:51:50 +00:00
2021-04-06 23:52:33 +00:00
## 🙌Contributors
2021-04-06 23:51:50 +00:00
< a href = "https://github.com/donaldzou/wireguard-dashboard/graphs/contributors" >
< img src = "https://contrib.rocks/image?repo=donaldzou/wireguard-dashboard" / >
< / a >