summaryrefslogtreecommitdiff
path: root/modules/system/networking/firewall/default.nix
blob: 074f39849b8decd1109617c10949e75a20add15f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{
  imports = [ ./fail2ban.nix ];

  networking.firewall = {
    enable = true;
    allowPing = false;
    logReversePathDrops = true;
    logRefusedConnections = false;
    checkReversePath = "loose";
  };
}