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

a

parent 09322546
No related branches found
No related tags found
1 merge request!1TP3
Pipeline #18163 failed
...@@ -5,6 +5,6 @@ PostUp = wg set %i private-key privatekey ...@@ -5,6 +5,6 @@ PostUp = wg set %i private-key privatekey
ListenPort = 51902 ListenPort = 51902
[Peer] [Peer]
PublicKey = {{ server_pubkey }} PublicKey = {{ }}
Endpoint = {{ dst }}:51888 Endpoint = {{ dst }}:51888
AllowedIPs = 10.0.0.0/24 AllowedIPs = 10.0.0.0/24
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
roles: roles:
- role: wg - role: wg
vars: vars:
otherHost: h2 server_pubkey: "{{ hostvars[h2].publickey }}"
myAddr: 10.0.0.1 myAddr: 10.0.0.1
dst: 10.0.3.2 dst: 10.0.3.2
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
roles: roles:
- role: wg - role: wg
vars: vars:
otherHost: h1 server_pubkey: "{{ hostvars[h2].publickey }}"
myAddr: 10.0.0.2 myAddr: 10.0.0.2
dst: 10.0.1.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