forgot the lo

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

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

@ -1,7 +1,6 @@
---
vpn_interfaces:
wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
private_key: "{{ vpn_vault_azerty_key }}"
public_key: "o9rdoSdnp4twbNbZAMl0wY4sFQh647qqRv6V8HJwMQY="
keepalive: true

@ -1,3 +1,7 @@
{{ ansible_managed | comment }}
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback

Loading…
Cancel
Save