leon: add backwards route for port forwarding

This commit is contained in:
Astro 2022-08-26 00:01:10 +02:00
parent 691bc7c8e1
commit cdd358e2cb
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ in
Destination = "172.20.0.0/14";
Gateway = config.c3d2.hosts.serv-gw.ip4;
};
} {
# for port forwardings
routeConfig = {
Destination = "${zentralwerk.lib.config.site.hosts.upstream4.interfaces.up4-pppoe.upstream.staticIpv4Address}/32";
Gateway = config.c3d2.hosts.serv-gw.ip4;
};
} ];
};