Block IP address with ufw

CN Camilo Nova Camilo Nova

Camilo Nova

CEO
1 min read.
Subscribe newsletter

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

Software Engineer, Investor, CEO, and father of two. Camilo writes on the intersection of technology, design, and business.

Join our newsletter to keep in touch: No SPAM

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.