Problem with rules

Post Reply
mmitechnic
Junior Member
Posts: 2
Joined: 25 Jan 2014, 20:34

Problem with rules

Post by mmitechnic »

Hello,

I would like to post a problem that I have with csf. I have installed a new system with centos 6.5 and immediately after installation I install csf. But the problem is that when I enable csf and apply a rule for example disable the port 22 or 80 or change the ssh port to 22222 and disable the port in csf and restart the system, the port is still working. Any tips?

Thanks in advance.
Gasur
Junior Member
Posts: 3
Joined: 21 Sep 2013, 13:41

Re: Problem with rules

Post by Gasur »

I believe it's due to SSHD (SSH server daemon) that you have to restart by doing following: sudo sshd restart. Remember to change /etc/ssh/sshd_config, and change the port in that file.

Remember whenever you have done something to CSF, I would recommend executing the following command: sudo csf -r && service lfd restart
Post Reply