leon: add backwards route for port forwarding
This commit is contained in:
parent
691bc7c8e1
commit
cdd358e2cb
|
@ -58,6 +58,12 @@ in
|
||||||
Destination = "172.20.0.0/14";
|
Destination = "172.20.0.0/14";
|
||||||
Gateway = config.c3d2.hosts.serv-gw.ip4;
|
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;
|
||||||
|
};
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user