with {csf -a “tcp|in|d=3306|s=<IP address>”} we authorize ONE IP, with which command we reverter?

000

Well-Known Member
Jun 3, 2008
427
18
68
hello.

if we run the command


csf -a “tcp|in|d=3306|s=<IP address>”

then ONLY that IP can connect to port 3306,
with wich command we can reverter ?

is secure use this option for BDs without a user cPanel? (BDs creates from ROOT, without cPanel user)
 

000

Well-Known Member
Jun 3, 2008
427
18
68
To remove the IP Address from allowed list:
Code:
csf -ar “tcp|in|d=3306|s=<IP address>”
Could you elaborate on whats BD as I could not understand that part?
Thanks master @ankeshanand just as say the master @cPRex, BD (in Spanish) = DB.

My question is becouse the cmmand csf -a “tcp|in|d=3306|s=<IP QQQ>” add access to port 3306 (MySQL)
for only one IP, then:

which is the command to remove the IP QQQ not from access to server!,
only from list white to connect to port 3306, again: "not BLOCK ip from server/host, only delete permission to connet in port 3306"

regards masters!
 

ankeshanand

Well-Known Member
Mar 29, 2021
193
58
103
India
cPanel Access Level
Root Administrator
By Default, no IP Address is remotely allowed to access or authenticate to MySQL even if they try. Though, the ports will be open, but only the Internal Websites who has localhost access can connect to the Databases.

For any Other IP addresses to access any Databases, You need to login to respective cPanel account, Go to Remote MySQL and Allow Access of that specific or Subnet IP address. That too will only allow access of those databases belonging to that cPanel Account, Not the whole MySQL access.
 
  • Like
Reactions: cPRex