dotfiles/roles/wg/defaults/main.yml
Matej Focko bc2d4a291e
chore(wg): factor out the wireguard role
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 19:53:09 +02:00

25 lines
723 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# IP address assigned to the wireguard peer
wg_address: "192.168.0.2/32"
# Domain that is used with local DNS on the VPN
wg_domain: "localdomain"
# IP address of the gateway on the VPN
wg_gateway: "192.168.0.1"
# Interface name for the wireguard connection
wg_ifname: "wg-something"
# Peers of the VPN, list of objects with the following format:
#
# - note: comment that gets put above the peer
# public_key: public key of the peer
# allowed_ips: 192.168.0.0/24
# endpoint: localhost:51820
# # if bool(keepalive) → gets included in the config
# keepalive: 20
wg_peers: []
# By default don't generate the keypair and reuse the existing one
wg_generate_keypair: false