Firewall: pvxe/nftables-geoip - filtered list of countries
cross-posted from: lemmy.world/post/11162262
Hey,
For all of you that are running proper setups and use nftables to protect your servers be aware that
pvxe/nftables-geoip
now has the ability to generate IP lists by country.This can be used to, for instance, drop all traffic from specific countries or the opposite, drop everything except for your own country.
github.com/…/c137151ebc05f4562c56e6802761e0a93ed1…
Here’s how you can block / track traffic from certain countries:
Previously you had to load the entire geoip DB containing multiple GB and would end up using a LOT of RAM. Those guides aren’t yet updated to use the country specific files but it’s just about changing the
include
line to whatever you’ve generated withpvxe/nftables-geoip
.
Add comment