summaryrefslogtreecommitdiff
path: root/roles/network/wireguard/p2p/defaults/main.yml
blob: 68000a83c2e17dfa509541fa8cc1427b8c07b500 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
# wireguard_p2p_interface:
#   name: p2p
#   description: some wireguard tunnel
#   priv_key: secret
#   listen_port: 1234
#   addresses:
#   - 192.168.255.254/24
#   static_routes:
#   - dest: 192.168.123.0/24
#     gw: 192.168.255.3

# wireguard_p2p_peers:
#   - pub_key: public_key_of_peer
#     keepalive_interval: 10
#     endpoint:
#       host: 5.6.7.8
#       port: 1234
#     allowed_ips:
#     - 192.168.255.3/32
#     - 192.168.123.0/24