April 2018
Intermediate to advanced
248 pages
5h 31m
English
At times, we use our Raspberry Pi as a server, which interacts with other devices that act as a client for Raspberry Pi. In such scenarios, we need to open certain ports and allow certain IP addresses to access them. These access points can become entry points for hackers to get hold of Raspberry Pi and do damage. To protect ourselves from this threat, we can use the fail2ban tool. This tool monitors the logs of Raspberry Pi traffic, keeps a check on brute-force attempts and DDOS attacks, and informs the installed firewall to block a request from that particular IP address.
To install Fail2Ban, run the following command:
sudo apt install fail2ban
Once the download is completed successfully, a folder with the name fail2ban is created ...
Read now
Unlock full access