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

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