add wireguard tunnel between htz-cloud and icinga2

This commit is contained in:
Franzi 2023-09-09 16:12:28 +02:00
parent fe4d4abc9c
commit 20ff2f40f4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 0 deletions

View file

@ -45,6 +45,9 @@ nodes['htz-cloud.wireguard'] = {
'ovh.wireguard': {
'snat_to': '172.19.137.2',
},
'icinga2': {
'snat_to': '172.19.137.2',
},
},
'subnets': {
'172.19.137.0/24',

View file

@ -27,6 +27,9 @@ gateway6 = "fe80::1"
[metadata.interfaces.wg_home_router]
ips = ["172.19.136.4"]
[metadata.interfaces.wg_htz-cloud_wi]
ips = ["172.19.136.4"]
[metadata.bird]
static_routes = ["172.19.136.4/32"]
@ -96,6 +99,9 @@ version = 15
[metadata.wireguard.peers.'home.router']
snat_to = "172.19.136.4"
[metadata.wireguard.peers.'htz-cloud.wireguard']
snat_to = "172.19.136.4"
[metadata.vm]
cpu = 2
ram = 2