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