mirror of
https://gitea.dmz.rs/Decentrala/dmzconf.git
synced 2026-07-24 15:02:04 +02:00
generate local wireguard keys
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
/etc/wireguard/dmz_private_key: | /bin/wg
|
||||
$| genkey > $@
|
||||
chmod 700 $@
|
||||
|
||||
/etc/wireguard/dmz_public_key: /etc/wireguard/dmz_private_key | /bin/wg
|
||||
$| pubkey < $< > $@
|
||||
|
||||
.PHONY: wgkeys
|
||||
wgkeys: /etc/wireguard/dmz_public_key ## Create dmz-keys on your machine for wiregurd.
|
||||
Reference in New Issue
Block a user