Depending on how these ddos attacks are getting sent this might help.
Edit: found out that fail2ban blocked a known abuser: https://www.abuseipdb.com/check/212.70.149.67
But my ban time was very low, thanks for the heads up!
Depending on how these ddos attacks are getting sent this might help.