This commit is contained in:
root
2021-05-07 02:16:16 +03:00
2 changed files with 6 additions and 0 deletions

View File

@ -1,8 +1,10 @@
# Wireguard-Peer-Manager
![image](https://user-images.githubusercontent.com/4666566/117325184-56f7f800-ae45-11eb-9003-b85aadbf5ff0.png)
Adds Wireguard peers to config, reload it and send client config back via Telegram.
**FYI: That tool stores client private keys into server config as comments.**
Is a good idea to update https://github.com/house-of-vanity/Wireguard-Peer-Manager/blob/b914707e06f807b4e57f1c1fa0ffcf903347b013/gen.py#L89
How to use:
@ -32,4 +34,7 @@ $ python3 gen.py --update # just regenerate all configs in `clients/`
# Telegram bot usage
$ TG_TOKEN=1292121488:AAG... TG_ADMIN=<your_username> python3 bot.py
```
Telegram Messages
![image](https://user-images.githubusercontent.com/4666566/117370133-cc31f000-ae7a-11eb-93fd-a390d2616da8.png)

View File

@ -1,2 +1,3 @@
wgconfig==0.2.2
python-telegram-bot==13.4
PyNaCl==1.4.0