summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-05-28 12:11:37 +0200
committerlassulus <lassulus@lassul.us>2022-05-28 12:11:37 +0200
commit9e36a59fb16d7c4eb5dacae77069403790302aa1 (patch)
treebcf29b4aef1a47a38378f18ab1558181a97c54b9 /krebs
parenta6c74f87d1075d06bc9215db128479b74297ac7e (diff)
container-networking: NAT to con*
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/container-networking.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/container-networking.nix b/krebs/2configs/container-networking.nix
index fa4488800..bf3fe711e 100644
--- a/krebs/2configs/container-networking.nix
+++ b/krebs/2configs/container-networking.nix
@@ -1,7 +1,7 @@
{ lib, ... }:
{
networking.nat.enable = true;
- networking.nat.internalInterfaces = ["ve-+"];
+ networking.nat.internalInterfaces = ["ve-+" "ctr+" ];
networking.nat.externalInterface = lib.mkDefault "et0";
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
}