Currently set to No Index

Performing IP Filtering Through cPanel – A Brief Tutorial

Security is something that nearly every webmaster has the need for, but not every webmaster knows how to pursue effectively the appropriate security measures.  Given the craftiness of the hacker world, it can seem to the novice an unwinnable fight where they just have to accept a certain amount of break-ins as a sort of collateral damage.

While it is good to understand that it’s impossible to make a lock that can’t be picked, this doesn’t mean that you should take frequent security breaches as the norm.  With just a little bit of education and effort, the untrained webmaster can lock down their site to levels that it would take extreme efforts to break.  This brief tutorial will focus specifically on how to use cPanel to filter the IP addresses that can access your web site, a step that, by itself, can keep a large percentage of attacks from even making it to your site.

RELATED:   H-Sphere: Possibly The Most Competent Control Panel

IP Filtering – easy to do…

To filter an IP address or block of IP addresses from accessing your site using cPanel is simple.  In the Security section near the bottom of your cPanel main page you will see an icon labeled “IP Deny Manager”.  Click on it and you’ll be at a page where you can add new restrictions, see your current ones, and remove any existing ones.  The page lists the appropriate formats (don’t bother with the CIDR format: it doesn’t do anything you can’t do any easier way).

Now, if you know how to block IP addresses, a more important question comes: what addresses to you block?  If you are getting a wave of attacks from a single IP address, the choice of course is simple.  But what do you do if they are coming from a number of IP addresses?  The short answer is this: block a range if it feels right, but don’t go overboard.

RELATED:   Several Security Risks and How to Avoid Them

Let’s say that you are getting attacks from 212.56.24.X, where X is variable, and nothing else from that class C (an IP address format is Class A.Class B.Class C.Class D).  Then, blocking everything from 212.56.24 should be safe.  But let’s say they are all from 212.56.  You do some research and see that this is a university Class B and there are plenty of safe hits from those addresses.  Of course, a college is going to have a few bored hackers.  Taking down all of those addresses is overkill and will negatively impact your traffic.

Find the right middle ground

It’s rare that you are going to want to restrict anything more than a Class C.  In general, you’re not going to want to restrict anything more than you have to.  Use trial and error: block what you need to and, if the site continues to get hammered, modify and expand your rules.  Then, once it feels like you might have scared them away, remove the blocks, keeping a close eye for 24-72 hours afterwards to make sure that they don’t start up again.  Also, be sure to let your web host know if the attack is particularly vicious: they might want to filter the bad IP addresses on a network level.

RELATED:   Hosting Multiple eCommerce Domains

IP Filtering by itself will not solve all of your security problems: no one method will.  But it will ensure the bulk of the worst attacks will be filtered away from you so you can focus more on other things.

How-to Start a Blog – Review of the Best 10 Blogging Platforms
How-to Start a Blog – Review of the Best 10 Blogging Platforms

If you want to start a blog as fast as possible, then you need to consider choosing a blogging platform. Thankfully, there are some excellent free and paid blogging platforms...

How Referral Marketing Can Benefit Web Hosts
How Referral Marketing Can Benefit Web Hosts

Even if the niche of web hosts are fully loaded with a lot of companies they are still one of the easiest to promote because you could write your own...

Broken Links: How to Find, Fix, and Benefit from Broken Links
Broken Links: How to Find, Fix, and Benefit from Broken Links

Links are what holds the web together. Essentially, the web is named as such because of the ability for pages and sites to link to other sources and relevant information....

Brand Value & the Most Powerful Brands (with Infographic)
Brand Value & the Most Powerful Brands (with Infographic)

Brand value – everyone wants it, however, only few are able to achieve it. The subject of “brand value” holds a significant position amongst marketers, executives, and entrepreneurs. Let’s discuss...

Reasons why your business should shift to Cloud hosting
Reasons why your business should shift to Cloud hosting

Cloud hosting has been on the rise since its inception. The improvement to your website performance and business efficiency that comes with Cloud hosting is almost tangible.

Why We Love the IT Support Career?
Why We Love the IT Support Career?

In almost all of my posts I was talking about the stressful side of the IT – the long hours, end user issues, migrations, midnight calls and the like. But...

IT Manager: Ways To Show Your Appreciation To Your Team
IT Manager: Ways To Show Your Appreciation To Your Team

Surely your team struggled hard and made things happen. You cannot say “this is what you get paid for” and just leave – you cannot keep your IT staff that...

Feeling Insecure In Your Current Job Position?
Feeling Insecure In Your Current Job Position?

Job security is one of our primary concerns. We everyday we live with the question of whether or not we will be working the next day. Loyalty is not the...

Leave a Reply

Your email address will not be published. Required fields are marked *