update hellman's variable, note: F proxmox

networking
histausse 3 years ago
parent eb58baf3b9
commit 6add6b916b
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -1,11 +1,15 @@
---
interfaces:
vmbr0:
ipv4: "10.50.2.17"
enp7s0:
ipv4: 10.50.2.17
netmaskv4: 16
type: static
routes:
- {subnet: 0.0.0.0, netmask: 0, gateway: 10.50.0.254}
wg0:
ipv4: "{{ intranet.subnets.physical.subnets.hellman.ipv4 }}"
netmaskv4: "{{ intranet.netmaskv4 }}"
type: wireguard
ipv4_forwarding: false
ipv6_forwarding: false

@ -1,13 +1,12 @@
---
vpn_interfaces:
wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
private_key: "{{ vpn_vault_hellman_key }}"
public_key: "+qV1RHAgSigOkrxUKqpGR83bydmlIHrEiw+A7zjbRk4="
keepalive: true
peers:
- endpoint: "{{ hostvars['hindley.adh.auro.re'].interfaces.enp2s0.ipv4 }}"
public_key: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.public_key }}"
allowed_ip: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.ip }}"
- endpoint: "{{ hostvars['hindley'].interfaces.enp2s0.ipv4 }}"
public_key: "{{ hostvars['hindley'].vpn_interfaces.wg0.public_key }}"
allowed_ip: "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}"
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
comment: "hindley"

Loading…
Cancel
Save