Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Unblocking IP address in Cpanel Server or Linux Command Line


You can unblock if from server shell console or from csf plugin if the serve is running cpanel.

For 125.214.71.115 in WHM under the Plugins section go to ConfigServer Security&Firewall.
Quick Allow tool should solve any blocking issues.

If the server is not running Cpane then from linux console run :
csf -a $IP
where $IP is IP you want to unblock and whitelist.

e.g:

root@secure [~]# csf -a 110.174.81.206
Removing 110.174.81.206 from csf.deny and iptables DROP…
DROP  all opt — in !lo out *  110.174.81.206  -> 0.0.0.0/0
DROP  all opt — in * out !lo  0.0.0.0/0  -> 110.174.81.206
Adding 110.174.81.206 to csf.allow and iptables ACCEPT…
ACCEPT  all opt — in !lo out *  110.174.81.206  -> 0.0.0.0/0
ACCEPT  all opt — in * out !lo  0.0.0.0/0  -> 110.174.81.206
root@secure [~]#

One response to “Unblocking IP address in Cpanel Server or Linux Command Line

  1. rx 09/06/2011 at 3:15 AM

    (mta1219.mail.mud.yahoo.com: domain of anne_findout@yahoo.com does not designate permitted sender hosts.

    how i trace this?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: