README.md 482 B

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