welp
This commit is contained in:
parent
01793b84f6
commit
97ff0698af
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ let
|
|||
let
|
||||
client = clients."${config.networking.hostName}";
|
||||
routes = routeBypass."${config.networking.hostName}";
|
||||
mapRoutes = type: lib.concatMapStringsSep "\n" (r: "${pkgs.iproute2}/bin/ip route ${type} ${r} dev ${routes.interface}") routes.routes;
|
||||
mapRoutes = type: lib.concatMapStringsSep "\n" (r: "${pkgs.iproute2}/bin/ip route ${type} ${r} via 192.168.1.1 dev ${routes.interface}") routes.routes;
|
||||
in {
|
||||
ips = client.allowedIPs;
|
||||
listenPort = port;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue