remove old hosts

main
_shirenn 2022-12-17 16:23:13 +01:00
parent 16b8a290db
commit c95cf063d5
4 changed files with 0 additions and 29 deletions

View File

@ -1,3 +0,0 @@
---
interfaces:
adm: eth0

View File

@ -1,5 +0,0 @@
---
interfaces:
adm: ens18
backports: true

View File

@ -1,3 +0,0 @@
---
interfaces:
adm: ens18

View File

@ -1,18 +0,0 @@
---
interfaces:
adm: ens18
srv: ens19
loc_wireguard:
tunnels:
- name: "gulp"
listen_port: 51820
private_key: "{{ vault.wireguard.vol447.privkey }}"
peers:
- public_key: "{{ vault.wireguard.charybde.pubkey }}"
allowed_ips:
- "{{ query('ldap', 'ip4', 'charybde', 'adm') }}/32"
- "{{ query('ldap', 'ip6', 'charybde', 'adm') }}/128"
endpoint: "{{ query('ldap', 'ip4', 'freebox', 'srv') }}:51820"
post_up: "sysctl -w net.ipv4.conf.ens18.proxy_arp=1; sysctl -w net.ipv4.conf.gulp.proxy_arp=1; sysctl -w net.ipv6.conf.ens18.proxy_ndp=1; sysctl -w net.ipv6.conf.gulp.proxy_ndp=1; ip neigh add proxy {{ query('ldap', 'ip6', 'charybde', 'adm') }} dev ens18"
post_down: "sysctl -w net.ipv4.conf.ens18.proxy_arp=0; sysctl -w net.ipv4.conf.gulp.proxy_arp=0; sysctl -w net.ipv6.conf.ens18.proxy_ndp=0; sysctl -w net.ipv6.conf.gulp.proxy_ndp=0; ip neigh delete proxy {{ query('ldap', 'ip6', 'charybde', 'adm') }} dev ens18"