dotfiles/roles/system/wg-admin/defaults/main.yml
Matej Focko 749be7227e
fix(system/wg-admin): use variables
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 14:55:29 +02:00

22 lines
693 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
system_wg_admin_address: "192.168.0.2/32"
# Domain that is used with local DNS on the VPN
system_wg_admin_domain: "localdomain"
# IP address of the gateway on the VPN
system_wg_admin_gateway: "192.168.0.1"
# Interface name for the wireguard connection
system_wg_admin_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
system_wg_admin_peers: []