1
0
Fork 0

InternalIPs are the ips on the host, not a range or other

This commit is contained in:
clerie 2020-12-07 17:16:42 +01:00
parent 6dab4dc41d
commit dedf409805
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@
externalInterface = "ens18";
externalIP = (lib.head config.networking.interfaces.ens18.ipv4.addresses).address;
internalInterfaces = [ "ens19" ];
internalIPs = "${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address}/${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).prefixLength }";
internalIPs = [
(lib.head config.networking.interfaces.ens19.ipv4.addresses).address
];
};
system.stateVersion = "21.03";