Block IP address with ufw

CN Camilo Nova Camilo Nova

Camilo Nova

CEO
1 min read.

An 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

CN Camilo Nova 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.

Newsletter

Subscribe to our newsletter:

Read more

Changing old ways

Companies usually work hard to make money and make their customers happy, but what about the employees? are they happy? is r...

1 min read.

Migrating from compass to bourbon

Three years ago we went from writing CSS and dealing with browser prefixes manually to use a framework who can help us bringi...

2 min read.

Build Once. Own Forever.