nodes: add bird to wireguard nodes
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-09-29 19:47:14 +02:00
parent 30d4d989fc
commit 89f91f3857
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 44 additions and 34 deletions

View file

@ -1,6 +1,7 @@
nodes['home.router'] = {
'hostname': '172.19.138.1',
'bundles': {
'bird',
'dhcpd',
'nginx',
'openvpn-client',
@ -49,6 +50,12 @@ nodes['home.router'] = {
'backups': {
'exclude_from_backups': True,
},
'bird': {
'static_routes': {
'172.19.138.0/24',
'172.19.139.0/24',
},
},
'cron': {
# Our internet provider resets the connection if you're
# connected longer than 24 hours. We install this cronjob
@ -210,12 +217,6 @@ nodes['home.router'] = {
},
},
},
'sysctl': {
'options': {
'net.ipv4.ip_forward': '1',
'net.ipv6.conf.all.forwarding': '1',
},
},
'vnstat': {
'generate-web-dashboard': True,
'interface': 'enp1s0.100',
@ -233,13 +234,10 @@ nodes['home.router'] = {
},
'wireguard': {
'external_hostname': 'franzi-home.kunbox.net', # Set via DynDNS
'my_ip': '172.19.136.2/22',
'peers': {
'ovh.wireguard': {},
},
'subnets': {
'172.19.138.0/24',
'172.19.139.0/24',
'ovh.wireguard': {
'snat_to': '172.19.138.1',
},
},
},
},