I have a webserver which serves either tiny, or very large files. I want to rate limit IPs by bandwidth. i.e. you can download X GB per day, and then you get blocked for Y hours.
Is it possible in iptables
to do this?
Presume Ubuntu 20.04 or recent Debian.