From 8c6d5608dd0d71a751e2f594805f63dc0745c68e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Tue, 20 Aug 2024 14:12:58 +0200 Subject: [PATCH] feat(firewall): open web ports --- nixos/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 6856b0f..6d25ca0 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -241,8 +241,8 @@ services.openssh.enable = true; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ 80 443 ]; + networking.firewall.allowedUDPPorts = [ 80 443 ]; # Or disable the firewall altogether. # networking.firewall.enable = false;