DDoS attack came to Minecraft server. Is there a way to stop it?

DDoS attack came to Minecraft server. Is there a way to stop it?

Yes, use a firewall. How to do it? Completely depends on your setup and skill set. You could use something like F2B and UFW (heres a good guide Webdock : Configuring UFW and Fail2Ban to Mitigate Basic DDos Attacks ) if your on the linux. Windows built in firewall could do the job also if you messed with im sure but the kind of attack is needed to be known or anything someone suggests wont help really.