Posted inNetworking
GeoIP Blocking with nftables and MaxMind GeoLite2 on Linux: Filter Traffic by Country
GeoIP blocking with nftables and MaxMind GeoLite2 lets you drop traffic from entire country IP ranges at the firewall level, before it reaches your application. This guide covers the full setup: downloading the database, extracting country ranges, loading them into nftables sets, and automating bi-weekly updates with systemd and cron.
