update hellman's variable, note: F proxmox
parent
eb58baf3b9
commit
6add6b916b
@ -1,11 +1,15 @@
|
|||||||
---
|
---
|
||||||
interfaces:
|
interfaces:
|
||||||
vmbr0:
|
enp7s0:
|
||||||
ipv4: "10.50.2.17"
|
ipv4: 10.50.2.17
|
||||||
netmaskv4: 16
|
netmaskv4: 16
|
||||||
|
type: static
|
||||||
|
routes:
|
||||||
|
- {subnet: 0.0.0.0, netmask: 0, gateway: 10.50.0.254}
|
||||||
wg0:
|
wg0:
|
||||||
ipv4: "{{ intranet.subnets.physical.subnets.hellman.ipv4 }}"
|
ipv4: "{{ intranet.subnets.physical.subnets.hellman.ipv4 }}"
|
||||||
netmaskv4: "{{ intranet.netmaskv4 }}"
|
netmaskv4: "{{ intranet.netmaskv4 }}"
|
||||||
|
type: wireguard
|
||||||
|
|
||||||
ipv4_forwarding: false
|
ipv4_forwarding: false
|
||||||
ipv6_forwarding: false
|
ipv6_forwarding: false
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
---
|
---
|
||||||
vpn_interfaces:
|
vpn_interfaces:
|
||||||
wg0:
|
wg0:
|
||||||
ip: "{{ interfaces.wg0.ipv4 }}"
|
|
||||||
private_key: "{{ vpn_vault_hellman_key }}"
|
private_key: "{{ vpn_vault_hellman_key }}"
|
||||||
public_key: "+qV1RHAgSigOkrxUKqpGR83bydmlIHrEiw+A7zjbRk4="
|
public_key: "+qV1RHAgSigOkrxUKqpGR83bydmlIHrEiw+A7zjbRk4="
|
||||||
keepalive: true
|
keepalive: true
|
||||||
peers:
|
peers:
|
||||||
- endpoint: "{{ hostvars['hindley.adh.auro.re'].interfaces.enp2s0.ipv4 }}"
|
- endpoint: "{{ hostvars['hindley'].interfaces.enp2s0.ipv4 }}"
|
||||||
public_key: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.public_key }}"
|
public_key: "{{ hostvars['hindley'].vpn_interfaces.wg0.public_key }}"
|
||||||
allowed_ip: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.ip }}"
|
allowed_ip: "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}"
|
||||||
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
|
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
|
||||||
comment: "hindley"
|
comment: "hindley"
|
||||||
|
Loading…
Reference in New Issue