Setting up custom iptables firewall with cpanel

xlocust

Registered
Nov 7, 2007
3
0
51
Hi, I am installing a custom firewall at some of our webservers that run cpanel at work. I am trying to find some info on what ports should be opened (inbound and outbound) in order for cpanel to work correctly on these servers. Doing a port scan of one of our boxes running cpanel I see the following ports are open in regards to cpanel:

2082/tcp open http Control Panel httpd 10.9.6
2083/tcp open ssl/http Control Panel httpd 10.9.6
2086/tcp open http Control Panel httpd 10.9.6
2087/tcp open ssl/http Control Panel httpd 10.9.6
2095/tcp open http Control Panel httpd 10.9.6
2096/tcp open ssl/http Control Panel httpd 10.9.6

should i open any other ports?

Thank you for you help.