Installed WHM and iptable rules block important access by default
I just installed WHM on CentOS server and iptable rules block important access by default, for example I have installed litespeed webserver and I cannot access litespeed configuration admin area (i.e. IP:7080). Users cannot ftp their accounts either. If I disable iptables with 'service iptables stop' everything is available, as soon as I started access is blocked.
I need urgent help !
-
Hey, By default iptables block all the ports and you need to open the ports separately for each individual services. I will recommend you to install csf, so that you can manage the configuration from WHM, if you are not comfortable with the terminal. 0 -
Hello, You can allow port 7080 in iptables using the following command iptables -A INPUT -p tcp --dport 7080-j ACCEPT service iptables save server iptables restart0 -
@ crossing, Install CSF and allow list of ports you want. 0 -
[quote="mageshm, post: 1720102">@ crossing, Install CSF and allow list of ports you want.
Thank you, that solved the problem:)0 -
Hello :) I am happy to see the suggestion of CSF was helpful. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments