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

a

parent 1426f513
No related branches found
No related tags found
1 merge request!1TP3
Pipeline #18270 failed
[Interface] [Interface]
Address = {{ myAddr }}/24 Address = {{ myAddr }}/32
PostUp = wg set %i private-key /etc/wireguard/privatekey PostUp = wg set %i private-key /etc/wireguard/privatekey
ListenPort = 51902 ListenPort = 51902
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- role: wg - role: wg
vars: vars:
publickey: "{{ hostvars['h2'].publickey }}" publickey: "{{ hostvars['h2'].publickey }}"
myAddr: 10.0.0.1 myAddr: 10.0.0.10
dst: 10.0.3.2 dst: 10.0.3.2
- name: h2_key_set - name: h2_key_set
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
- role: wg - role: wg
vars: vars:
publickey: "{{ hostvars['h1'].publickey }}" publickey: "{{ hostvars['h1'].publickey }}"
myAddr: 10.0.0.2 myAddr: 10.0.0.20
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