hi
i have a problem
when i reboot my server i must use the next command
service iptables stop
if no cpanel no works
what is the problem?
hi
i have a problem
when i reboot my server i must use the next command
service iptables stop
if no cpanel no works
what is the problem?
As root, run the following commands:
iptables -I INPUT -p tcp --dport 2082 -j ACCEPT
iptables -I INPUT -p tcp --dport 2083 -j ACCEPT
iptables -I INPUT -p tcp --dport 2086 -j ACCEPT
iptables -I INPUT -p tcp --dport 2087 -j ACCEPT
iptables -I INPUT -p tcp --dport 2095 -j ACCEPT
iptables -I INPUT -p tcp --dport 2096 -j ACCEPT
/etc/init.d/iptables save
This opens cPanel with and without SSL, WHM with and without SSL and webmail ports.
Let me know whether you are on a VPS and using CSF firewall ?
no
it is a dedicated server and i dont have intalled any firewall
Do you have problem only with cpanel ? Does your websites load when iptables are on ?
Try clearing all the rules from /etc/sysconfig/iptables . Keep a backup before clearing .
# > /etc/sysconfig/iptables
# iptables -F
# /etc/init.d/iptables restart