dotfiles/roles/wg/defaults/main.yml

26 lines
723 B
YAML
Raw Normal View History

---
# 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