Dedicated IP allow through firewall
I have a WHM 11.44.0 install on a CLOUDLINUX 6.5 and using csf as firewall, on this server i got a shared IP and several dedicated IP's for some accounts. They are on virtual interface eth0:cp1,eth0:cp2 etc.
How can I allow all trafic from/to one of those dedicated IP's, don't want to do it from ssh with iptables and make a script in case of server restart.
Using quick allow from csf module gives add failed: x.x.x.x is one of this servers addresses!
I only see the option to exclude one of the interfaces but it will be eth0, eth1 etc
Thank You.
-
Hello :) You may find the following thread helpful: Block A Port On Certain IPs with CSF Thank you. 0 -
Thank you for the answer. I've created and used /etc/csf/csfpost.sh that contains custom rules and is run after csf start/restart 0
Please sign in to leave a comment.
Comments
2 comments