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

With a deep passion for technology and a keen understanding of business, Camilo brings a fresh perspective to the intersection of technology, design, and business.