toastie89 ff3a33f4e8 added docker container with wg-utils vor 1 Jahr
..
build ff3a33f4e8 added docker container with wg-utils vor 1 Jahr
.gitignore ff3a33f4e8 added docker container with wg-utils vor 1 Jahr
README.md ff3a33f4e8 added docker container with wg-utils vor 1 Jahr
docker-compose.yml ff3a33f4e8 added docker container with wg-utils vor 1 Jahr
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 1 Jahr
wg-new.sh a34d76992f added -f for rm to avoid error if dir not exists vor 1 Jahr

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