root@server[#] vi /etc/csf/csf.conf
Then search for the line :
# Allow incoming TCP ports
and the remove the port : 3306
and also search for the line :
# Allow outgoing TCP ports
and remove the port : 3306
Save and Quit.
then open the csf.allow file
root@server[#] vi /etc/csf/csf.allow
and add the entry as :
tcp:in:d=3306:s=10.10.10.10
And then restart the CSF service
root@server[#] csf -r
No comments:
Post a Comment