Block IP address with ufw
Camilo Nova
CEOAn easy way to block an IP to access your server will be to use:
$ sudo ufw insert 1 deny from XXX.XXX.XXX.XXX to any
This way you can prevent unwanted access attempts from a certain IP.
Written by Camilo Nova
As the Axiacore CEO, Camilo writes about the intersection of technology, design, and business. With a strategic mindset and a deep understanding of the industry, he is dedicated to helping companies grow.