Ask HN: How to avoid accidentally opening a port to the world?
4 points| nullbytesmatter | 3 years ago
I luckily caught it before indexing any data, but it opened my eyes to how easy it is for something like this to slip by. How can we prevent such things from happening?
I have since installed ufw and block all incoming traffic except to ports 22, 80 and 443 as a "layer" of defense (my thinking is, I won't accidentally expose a port this way).
josephcsible|3 years ago
ggm|3 years ago