Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
By default, the ssh service is open in CentOS
First, we allow access for the desired subnet 1.2.3.0/24 (substitute your value)
Next, apply the changes
We look that everything went well and the rule was added
And only now we remove the general ssh rule from the list of allowed
Apply the changes again
Now the kulzkakers will not bother you, but if you want to open the ssh port to the outside, then only fail2ban will save you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question