toastie89 53290f11cd added config/ vor 2 Jahren
..
build ff3a33f4e8 added docker container with wg-utils vor 2 Jahren
.gitignore 53290f11cd added config/ vor 2 Jahren
README.md ff3a33f4e8 added docker container with wg-utils vor 2 Jahren
docker-compose.yml ff3a33f4e8 added docker container with wg-utils vor 2 Jahren
peers.cfg.example b2cb572624 initial version vor 2 Jahren
server.cfg.example 16aedfb80d initial vor 2 Jahren
wg-createconfig.sh bc2f4fa2cd changed to ANSI256 text output vor 2 Jahren
wg-new.sh a34d76992f added -f for rm to avoid error if dir not exists vor 2 Jahren

README.md

Scripts and templates to setup keys, PSKs and config files for a central wireguard instance, e.g. OPNsense, and its peers.

  1. wg-new.sh prepares a new ./config/ directory (!! any existing directory will be deleted)
  2. Next the files server.cfg and peers.cfg in ./config/ need to be modified as per your requirements
  3. Finally run wg-createconfig.sh generate keys, PSKs and configs

To run in docker: docker-compose run wg-config