Author Topic: how to secure CentOS server using CWP features  (Read 31704 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Re: how to secure CentOS server using CWP features
« Reply #15 on: March 18, 2023, 02:54:23 AM »
#Port 22 <-- Here! Remove the # and change 22 to whatever you want
#AddressFamily any
[/quote]
Don't forget to also change the port in /etc/csf/csf.conf under the TCP_IN line:
Code: [Select]
TCP_IN = "20,21,[i][b]2222[/b][/i],25,53,80,110,143,443,465,587,993,995,2030,2031"(not that I recommend port 2222, as FritzFrog scans for that in addition to 22).