summaryrefslogtreecommitdiff
path: root/modules/system/networking/firewall.nix
blob: 569089cc9f66646df2a6df907f6b8bc6e0b9940d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  networking.firewall = {
    enable = true;
    allowedUDPPorts = [ 53 ];
    allowPing = false;

    allowedTCPPorts = [
      80
      443
    ];
  };
}