container-networking: NAT to con*
This commit is contained in:
parent
a6c74f87d1
commit
9e36a59fb1
@ -1,7 +1,7 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.internalInterfaces = ["ve-+"];
|
networking.nat.internalInterfaces = ["ve-+" "ctr+" ];
|
||||||
networking.nat.externalInterface = lib.mkDefault "et0";
|
networking.nat.externalInterface = lib.mkDefault "et0";
|
||||||
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user