Skip to content

das-kaesebrot/wg-interactive

Repository files navigation

wg-interactive

Upload Python Package

wg-interactive is a command line tool for initializing WireGuard server configuration files as well as adding and deleting peers interactively.

Installation

Install the module from PyPI:

pip install wg-interactive

Usage

Launch wg-interactive via the included command wg-interactive.

usage: wg-interactive [-h] [-l {critical,fatal,error,warn,info,debug}] [-d DIRECTORY]

An interactive command line tool for modifying and initializing WireGuard server configuration files and adding/deleting peers.

options:
  -h, --help            show this help message and exit
  -l {critical,fatal,error,warn,info,debug}, --logging {critical,fatal,error,warn,info,debug}
                        Set the log level (default: info)
  -d DIRECTORY, --directory DIRECTORY
                        WireGuard config directory (default: /etc/wireguard)

Build and install

Initialize a local python virtual environment:

mkdir .venv
pipenv install

Then build the package:

pipenv shell
python -m build

License Attribution

This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.

WireGuard is a registered trademark of Jason A. Donenfeld.

  • Copyright (c) 2008-2011 Volvox Development Team.
  • MIT license