一般来说WHM和cPanel服务器用于共享托管环境中,安全性是最重要的。因此,对于最佳安全实践,我们应该始终阻止防火墙进行未经授权访问的所有不必要的端口。在这篇文章中,你会发现由WHM和cPanel服务器使用的所有端口,这样你就可以在你的防火墙中打开相应的端口。
打开WHM&cPanel服务器的端口
下面是我们需要打开防火墙WHM和cPanel服务器的所有端口列表。开放的端口为TCP或TCP / UDP协议,如下。
==================================================================================
PORT PROTOCOL SERVICE ON PORT
==================================================================================
20 TCP/UDP FTP data
21 TCP/UDP FTP command
22 TCP/UDP SSH (Secure Shell)
25 TCP SMTP (Simple Mail Transfer Protocol)
53 TCP/UDP DNS (Domain Name System)
80 TCP/UDP HTTP (Hypertext Transfer Protocol)
110 TCP POP3 (Post Office Protocol v3)
143 TCP IMAP (Internet Message Access Protocol)
443 TCP HTTPS (Hypertext Transfer Protocol over SSL/TLS)
465 TCP SMTP over SSL
993 TCP IMAPS (Internet Message Access Protocol over SSL)
995 TCP POP3S (Post Office Protocol 3 over TLS/SSL)
2077 TCP Webdisk (cPanel Specific)
2078 TCP Webdisk with SSL (cPanel Specific)
2082 TCP CPanel default (cPanel Specific)
2083 TCP CPanel default SSL (cPanel Specific)
2086 TCP WHM (cPanel Specific)
2087 TCP WHM with SSL (cPanel Specific)
2095 TCP CPanel Web mail (cPanel Specific)
2096 TCP CPanel Web mail with SSL (cPanel Specific)
==================================================================================