ulikoehler / GuardMyWire

Generate wireguard configs for Linux and MikroTik devices
Apache License 2.0
24 stars 5 forks source link

GuardMyWire

Generate wireguard configs for Linux (wg-quick), OpenWRT and MikroTik devices

Installation

Install the required dependencies using

pip install -r requirements.txt

and just run the script in place.

Note that GuardMyWire uses the wg executable to generate Wireguard keys and qrencode. So it requires wg to work at all and qrencode to generate mobile QR codes!

Howto use

First, you need to create your JSON config files. See the examples, e.g. Site2Site.json.

Then, run

python3 guardmywire.py my-config.json

This will generate a my-config directory containing: