add wireguard tunnel between htz-cloud and icinga2
This commit is contained in:
parent
fe4d4abc9c
commit
20ff2f40f4
2 changed files with 9 additions and 0 deletions
|
@ -45,6 +45,9 @@ nodes['htz-cloud.wireguard'] = {
|
||||||
'ovh.wireguard': {
|
'ovh.wireguard': {
|
||||||
'snat_to': '172.19.137.2',
|
'snat_to': '172.19.137.2',
|
||||||
},
|
},
|
||||||
|
'icinga2': {
|
||||||
|
'snat_to': '172.19.137.2',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'subnets': {
|
'subnets': {
|
||||||
'172.19.137.0/24',
|
'172.19.137.0/24',
|
||||||
|
|
|
@ -27,6 +27,9 @@ gateway6 = "fe80::1"
|
||||||
[metadata.interfaces.wg_home_router]
|
[metadata.interfaces.wg_home_router]
|
||||||
ips = ["172.19.136.4"]
|
ips = ["172.19.136.4"]
|
||||||
|
|
||||||
|
[metadata.interfaces.wg_htz-cloud_wi]
|
||||||
|
ips = ["172.19.136.4"]
|
||||||
|
|
||||||
[metadata.bird]
|
[metadata.bird]
|
||||||
static_routes = ["172.19.136.4/32"]
|
static_routes = ["172.19.136.4/32"]
|
||||||
|
|
||||||
|
@ -96,6 +99,9 @@ version = 15
|
||||||
[metadata.wireguard.peers.'home.router']
|
[metadata.wireguard.peers.'home.router']
|
||||||
snat_to = "172.19.136.4"
|
snat_to = "172.19.136.4"
|
||||||
|
|
||||||
|
[metadata.wireguard.peers.'htz-cloud.wireguard']
|
||||||
|
snat_to = "172.19.136.4"
|
||||||
|
|
||||||
[metadata.vm]
|
[metadata.vm]
|
||||||
cpu = 2
|
cpu = 2
|
||||||
ram = 2
|
ram = 2
|
||||||
|
|
Loading…
Reference in a new issue