While firewalls can help mitigate the impact of DDoS attacks by filtering and blocking malicious traffic, specialized DDoS protection solutions and services are often required to effectively thwart large-scale attacks.