summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/container-networking.nix
blob: fa4488800e32b8cdbb1257f2a8e8854c58d893cb (plain)
1
2
3
4
5
6
7
{ lib, ... }:
{
  networking.nat.enable = true;
  networking.nat.internalInterfaces = ["ve-+"];
  networking.nat.externalInterface = lib.mkDefault "et0";
  networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
}