firewalld config change to default

mixo

Registered
Oct 25, 2018
4
0
1
Tbilisi
cPanel Access Level
Root Administrator
Hello,

I use firewalld firewall on a server with CPANEL. I created ipset files for trusted and web developer zones and removed the service named cpanel from the public zone. After the update, the public.xml file has changed and the cpanel service is open to the public zone. I don't want this. What can I do?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,252
313
Houston

mixo

Registered
Oct 25, 2018
4
0
1
Tbilisi
cPanel Access Level
Root Administrator
This instruction opens ssh and port 2087 worldwide. I think it's dangerous. someone has already hacked my server because of this six months ago. I can protect ssh with RSA 4096 or ed25519 and PasswordAuthentication no, but what to do with 2087?