make wireguard config setup

This commit is contained in:
2026-03-02 22:31:27 +01:00
parent b227be06d6
commit 11fb74e01c
2 changed files with 5 additions and 76 deletions

3
wg.mk
View File

@@ -46,3 +46,6 @@ wg-install: /etc/wireguard/dmz.conf ## Install wireguard keys (use sudo)
/etc/wireguard/dmz.conf: wireguard/dmz.conf | /bin/wg
cp $< $@
.PHONY: wg-setup
wg-setup: ansible/files/wireguard/wg0.conf ## Renew the wireguard config
make -C ansible wireguard