diff options
author | Aaditya Dhruv <[email protected]> | 2025-04-22 17:29:46 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-05-01 20:19:51 -0500 |
commit | 55298a51cb0cc5e68c5a43869f2f32b899d3a622 (patch) | |
tree | 50d271288502bcff6f0a5133ce0839d883ee8ef7 /roles/wireguard/templates/wireguard.master.j2 |
init
Diffstat (limited to 'roles/wireguard/templates/wireguard.master.j2')
-rw-r--r-- | roles/wireguard/templates/wireguard.master.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/wireguard/templates/wireguard.master.j2 b/roles/wireguard/templates/wireguard.master.j2 new file mode 100644 index 0000000..c2ac41c --- /dev/null +++ b/roles/wireguard/templates/wireguard.master.j2 @@ -0,0 +1,6 @@ +[Interface] +Address = 10.0.0.1/24 +PostUp = firewall-cmd --add-masquerade +PostDown = firewall-cmd --remove-masquerade +ListenPort = {{ network.wireguard.port }} +PrivateKey = {{ privatekey }} |