TheK4n / wireguard-manager

Wireguard manager. Auto-configurate server and manage clients with telegram integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wireguard Manager

Project description

Wireguard manager with Telegram integration

Requirements

  • wg - Wireguard CLI
  • qrencode - Generate qrcode

Installation

.env example:

TOKEN=123456789:ABCDEFG  # tg bot token
ADMIN=123456789  # your tg id

Clone repository and installing dependencies:

git clone https://github.com/TheK4n/wireguard-manager.git
cd wireguard-manager
make init
wg-manager init
make tg  # initialize tg bot

Usage

wg-manager add "client_name"  # Adds client and shows qrcode
wg-manager ls  # Clients list
wg-manager get "client_name"  # Shows client qrcode
wg-manager rm "client_name"  # Removes client

About

Wireguard manager. Auto-configurate server and manage clients with telegram integration.


Languages

Language:Python 69.5%Language:Shell 27.4%Language:Makefile 3.1%