1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

Linux server under a DDoS attack from an IP address? | Easy Instructions

Find out what IP addresses are connected to your server.

sudo apt-get install net-tools -y

Check Server Load

Be sure to check when everything is running normally, so you have a base number to compare it to.

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂
grep processor /proc/cpuinfo | wc -l

Checking Your Network Load

We need to install nload for this operation. There are other tools but this is the one we use.

sudo apt-get install nload -y

Cent OS Command

sudo dnf install nload -y

Running The Tool

In order to run the tool use this command.

Subscribe To My YouTube Channel:
nload

 

Find Out What IP addresses Are Connected To Your Server

netstat -ntu|awk '{print $5}'|cut -d: -f1 -s|sort|uniq -c|sort -nk1 -r

If you see an ip address that has numerous connections they are the ones responsible for the attack. Block them by entering this command.

sudo route add IP-ADDRESS reject

Image by Bruno /Germany from Pixabay

Image by OpenClipart-Vectors from Pixabay

Linux server under a DDoS attack from an IP address? | Easy Instructions was last modified: January 14th, 2021 by Maximus Mccullough

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share:
Linux server under a DDoS attack from an IP address

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.