From 29b68823ad5c4ac6a7f0de1a67d50a8a2a5b1c3f Mon Sep 17 00:00:00 2001 From: Lyes Saadi Date: Tue, 6 Jan 2026 20:41:47 +0100 Subject: [PATCH] Fix firewall --- hosts/zora/networking.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/hosts/zora/networking.nix b/hosts/zora/networking.nix index c63249b..7f0c16a 100644 --- a/hosts/zora/networking.nix +++ b/hosts/zora/networking.nix @@ -52,20 +52,20 @@ }; # Imposing a bandwidth limit to avoid Aurore/Crans disruptions - networking.nftables = { - tables.rate_limit = { - name = "rate_limit"; - family = "inet"; - enable = true; - content = '' - limit lim { rate over 20 mbytes/second burst 40 mbytes ; comment "use to limit taffic" ; } + # networking.nftables = { + # tables.rate_limit = { + # name = "rate_limit"; + # family = "inet"; + # enable = true; + # content = '' + # limit lim { rate over 20 mbytes/second burst 40 mbytes ; comment "use to limit taffic" ; } - chain IN { - type filter hook input priority filter; policy drop; - tcp dport 80 limit name "lim" accept - tcp dport 443 limit name "lim" accept - } - ''; - }; - }; + # chain IN { + # type filter hook input priority filter; policy drop; + # tcp dport 80 limit name "lim" accept + # tcp dport 443 limit name "lim" accept + # } + # ''; + # }; + # }; }