mirror of
https://gitea.dmz.rs/Decentrala/dmzconf.git
synced 2026-07-23 14:36:51 +02:00
make wireguard peers file
This commit is contained in:
@@ -22,3 +22,8 @@ wgkeys.rec: wireguard/dmz_public_key
|
||||
|
||||
wireguard/dmz.conf: xecut/nimbus/dmz.conf | wireguard/dmz_private_key
|
||||
sed 's/PRIVATE_KEY/$(shell cat $|)/' $< > $@
|
||||
|
||||
###### Wireguard configuration #####
|
||||
|
||||
wireguard/wg_peers.txt: wgkeys.rec | xecut/nimbus/wireguard_server.fmt
|
||||
recsel $< -t $(basename $<) | recfmt -f $| > $@
|
||||
|
||||
Reference in New Issue
Block a user