Skip to content
Snippets Groups Projects
Commit 31e20606 authored by antoine.blancy's avatar antoine.blancy
Browse files

a

parent af1ac9cc
No related branches found
No related tags found
1 merge request!1TP3
Pipeline #18167 failed
[Interface]
Address = {{ myAddr }}
PostUp = wg set %i private-key privatekey
ListenPort = 51902
[Peer]
PublicKey = {{ }}
PublicKey = {{ publickey }}
Endpoint = {{ dst }}:51888
AllowedIPs = 10.0.0.0/24
......@@ -3,7 +3,7 @@
roles:
- role: wg
vars:
server_pubkey: "{{ hostvars[h2].publickey }}"
publickey: "{{ hostvars[h2].publickey }}"
myAddr: 10.0.0.1
dst: 10.0.3.2
......@@ -12,7 +12,7 @@
roles:
- role: wg
vars:
server_pubkey: "{{ hostvars[h2].publickey }}"
publickey: "{{ hostvars[h1].publickey }}"
myAddr: 10.0.0.2
dst: 10.0.1.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment