Toastie a4426e2058 added instruction on setting up the linux client 2 months ago
..
build ff3a33f4e8 added docker container with wg-utils 2 years ago
.gitignore 53290f11cd added config/ 2 years ago
README.md a4426e2058 added instruction on setting up the linux client 2 months ago
docker-compose.yml ff3a33f4e8 added docker container with wg-utils 2 years 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 2 years ago
wg-new.sh a34d76992f added -f for rm to avoid error if dir not exists 2 years 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
  4. On the linux peer, copy .conf to /etc/wireguard/wg0.conf, apt install wireguard and wg-quick up wg0

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