Add default peer
This commit is contained in:
parent
c7b48bed66
commit
13405fe8f5
1 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,8 @@ server_address: '192.168.2.5'
|
||||||
ping_schedule: 1h
|
ping_schedule: 1h
|
||||||
endpoint: ''
|
endpoint: ''
|
||||||
dns: '1.1.1.1'
|
dns: '1.1.1.1'
|
||||||
|
wireguard_peers:
|
||||||
|
- name: hostname_peer
|
||||||
|
PublicKey: '12345456213481294asdñajsdklja='
|
||||||
|
AllowedIPs: '192.168.2.1/32'
|
||||||
|
EndPointIP: "{{ lookup('dig', 'hostname_peer', '@94.140.14.14') }}"
|
||||||
|
|
Loading…
Reference in a new issue