From 04be52d7b75eb62203a3af8d85e36e3584123f90 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Fri, 8 Mar 2024 21:30:37 +0300 Subject: 2024-03-08 --- modules/nixos/common/networking.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/nixos/common') diff --git a/modules/nixos/common/networking.nix b/modules/nixos/common/networking.nix index 91306be..fb7d9b2 100644 --- a/modules/nixos/common/networking.nix +++ b/modules/nixos/common/networking.nix @@ -36,13 +36,15 @@ in { useDHCP = false; + nftables.enable = true; + firewall = { enable = true; rejectPackets = false; allowPing = true; - pingLimit = "--limit 1/minute --limit-burst 5"; + pingLimit = "1/minute burst 5 packets"; logRefusedConnections = false; logRefusedPackets = false; -- cgit 1.4.1