bundles/wireguard: easier snat setup

This commit is contained in:
Franzi 2023-09-10 21:19:23 +02:00
parent e70a86a6c1
commit 234e81431d
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 18 additions and 24 deletions

View file

@ -26,12 +26,6 @@ ips = [
gateway4 = "10.255.255.1"
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"]
@ -62,11 +56,11 @@ SERVICEGROUP_ID = 80
[metadata.postgresql]
version = 15
[metadata.wireguard.peers.'home.router']
snat_to = "172.19.136.4"
[metadata.wireguard]
snat_ip = "172.19.136.4"
[metadata.wireguard.peers.'home.router']
[metadata.wireguard.peers.'htz-cloud.wireguard']
snat_to = "172.19.136.4"
[metadata.vm]
cpu = 2