htz-cloud: add wireguard node, add internal network to nodes
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-24 08:53:20 +02:00
parent 0a3210c703
commit 90a84fc9da
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 81 additions and 0 deletions

View file

@ -18,6 +18,17 @@ nodes['htz-cloud.luther'] = {
'gateway4': '172.31.1.1', 'gateway4': '172.31.1.1',
'gateway6': 'fe80::1', 'gateway6': 'fe80::1',
}, },
'ens10': {
'ips': {
'172.19.137.4/32',
},
'routes': {
# VPN
'172.19.136.0/22': {
'via': '172.19.137.1',
},
},
},
}, },
'apt': { 'apt': {
'packages': { 'packages': {

View file

@ -18,6 +18,17 @@ nodes['htz-cloud.pleroma'] = {
'gateway4': '172.31.1.1', 'gateway4': '172.31.1.1',
'gateway6': 'fe80::1', 'gateway6': 'fe80::1',
}, },
'ens10': {
'ips': {
'172.19.137.5/32',
},
'routes': {
# VPN
'172.19.136.0/22': {
'via': '172.19.137.1',
},
},
},
}, },
'icinga_options': { 'icinga_options': {
'pretty_name': 'cybert-media.net', 'pretty_name': 'cybert-media.net',

View file

@ -20,6 +20,17 @@ nodes['htz-cloud.sewfile'] = {
'gateway4': '172.31.1.1', 'gateway4': '172.31.1.1',
'gateway6': 'fe80::1', 'gateway6': 'fe80::1',
}, },
'ens10': {
'ips': {
'172.19.137.3/32',
},
'routes': {
# VPN
'172.19.136.0/22': {
'via': '172.19.137.1',
},
},
},
}, },
'backups': { 'backups': {
'paths': { 'paths': {

View file

@ -0,0 +1,47 @@
nodes['htz-cloud.wireguard'] = {
'hostname': '162.55.54.226',
'bundles': {
'wireguard',
},
'groups': {
'debian-buster',
},
'metadata': {
'interfaces': {
'eth0': {
'ips': {
'162.55.54.226',
'2a01:4f8:1c1c:884d::1/64'
},
'gateway4': '172.31.1.1',
'gateway6': 'fe80::1'
},
'ens10': {
'ips': {
'172.19.137.2/32',
},
'routes': {
'172.19.137.0/24': {
'via': '172.19.137.1',
},
},
},
},
'backups': {
'exclude_from_backups': True,
},
'vm': {
'cpu': 1,
'ram': 2,
},
'wireguard': {
'my_ip': '172.19.136.4/22',
'peers': {
'ovh.wireguard': {},
},
'subnets': {
'172.19.137.0/24',
},
},
},
}

View file

@ -28,6 +28,7 @@ nodes['ovh.wireguard'] = {
'peers': { 'peers': {
'ovh.icinga2': {}, 'ovh.icinga2': {},
'home.router': {}, 'home.router': {},
'htz-cloud.wireguard': {},
'kunsi-oneplus3': { 'kunsi-oneplus3': {
'ips': { 'ips': {
'172.19.136.100/32', '172.19.136.100/32',