noob question about blocking ip/country

jpoke5

Registered
Jul 14, 2005
2
0
151
USA
this may sound dumb but here go's

i know i can block an ip in cpanel but is there any way to block an entire country from viewing my web pages..... CHINA

I see a lot of visits from china looking at my pages and i dont want any nuke testing reds looking at my pages.....lol

Jeff.....the noob
 

rikgarner

Well-Known Member
Mar 31, 2006
75
1
158
/dev/null
We use hardware firewalls infront of our boxes, and use Cisco NTE's which can de-route traffic from subnets which are commonly troublesome (normally from 63.0.0.0/8) ;)

Linux-integrated firewalls are OK, but nothing beats having a hardware unit for management, logging, and when BFD/LFD can integrate with them to block IP's which are causing problems, your onto a winner.

Rich
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
jpoke5 said:
i know i can block an ip in cpanel but is there any way to block an entire country from viewing my web pages..... CHINA
The other option you have is Mod-GeoIP. With this module, you can block visitors from specific countires.