Toastie a4426e2058 added instruction on setting up the linux client 2 ヶ月 前
..
build ff3a33f4e8 added docker container with wg-utils 2 年 前
.gitignore 53290f11cd added config/ 2 年 前
README.md a4426e2058 added instruction on setting up the linux client 2 ヶ月 前
docker-compose.yml ff3a33f4e8 added docker container with wg-utils 2 年 前
peers.cfg.example b2cb572624 initial version 2 年 前
server.cfg.example 16aedfb80d initial 2 年 前
wg-createconfig.sh bc2f4fa2cd changed to ANSI256 text output 2 年 前
wg-new.sh a34d76992f added -f for rm to avoid error if dir not exists 2 年 前

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