diff --git a/hosts/oparic-local-dev/configuration.nix b/hosts/oparic-local-dev/configuration.nix index 2b959ea..1631bea 100644 --- a/hosts/oparic-local-dev/configuration.nix +++ b/hosts/oparic-local-dev/configuration.nix @@ -117,7 +117,13 @@ ''; }; }; - networking.firewall.allowedTCPPorts = [ 80 443 ]; + networking.firewall.allowedTCPPorts = [ 80 443 40000 ]; + + networking.nat = { + enable = true; + internalInterfaces = [ "ve-o4dev" ]; + externalInterface = "ens18"; + }; # NixOS container: o4dev containers.o4dev = {