diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-03-08 21:30:37 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-03-08 21:30:37 +0300 |
commit | 04be52d7b75eb62203a3af8d85e36e3584123f90 (patch) | |
tree | 5ad22924998c10c45834eadae6c0498a3ac4be1b /modules/nixos/common/networking.nix | |
parent | 2024-03-04 (diff) |
2024-03-08
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/common/networking.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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; |