forgot the lo
This commit is contained in:
parent
746afa3159
commit
eb58baf3b9
3 changed files with 9 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
||||||
---
|
---
|
||||||
interfaces:
|
interfaces:
|
||||||
enp0s25:
|
enp0s25:
|
||||||
ipv4: "10.50.1.221"
|
ipv4: 10.50.1.221
|
||||||
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.azerty.ipv4 }}"
|
ipv4: "{{ intranet.subnets.physical.subnets.azerty.ipv4 }}"
|
||||||
netmaskv4: "{{ intranet.netmaskv4 }}"
|
netmaskv4: "{{ intranet.netmaskv4 }}"
|
||||||
|
type: wireguard
|
||||||
|
|
||||||
ipv4_forwarding: false
|
ipv4_forwarding: false
|
||||||
ipv6_forwarding: false
|
ipv6_forwarding: false
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
vpn_interfaces:
|
vpn_interfaces:
|
||||||
wg0:
|
wg0:
|
||||||
ip: "{{ interfaces.wg0.ipv4 }}"
|
|
||||||
private_key: "{{ vpn_vault_azerty_key }}"
|
private_key: "{{ vpn_vault_azerty_key }}"
|
||||||
public_key: "o9rdoSdnp4twbNbZAMl0wY4sFQh647qqRv6V8HJwMQY="
|
public_key: "o9rdoSdnp4twbNbZAMl0wY4sFQh647qqRv6V8HJwMQY="
|
||||||
keepalive: true
|
keepalive: true
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*
|
source /etc/network/interfaces.d/*
|
||||||
|
|
||||||
|
# The loopback network interface
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
|
Loading…
Reference in a new issue