8000 GitHub - ulikoehler/GuardMyWire: Generate wireguard configs for Linux and MikroTik devices
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ulikoehler/GuardMyWire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • A config subdirectory containing wg-quick config files (the "normal" WireGuard config files - also for the Windows client
  • A keys subdirectory containing private, public and pre-shared keys for all the peers
  • A mikrotik subdirectory containing files with MikroTik terminal commands to setup the interface. RouterOS v7 required (v6 does not support Wireguard!)
  • A mobile subdirectory with mobile QR codes in both PNG and SVG formal

About

Generate wireguard configs for Linux and MikroTik devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0