Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

hacker - block asia

Discussion in 'General Discussion' started by sigep739, Jun 5, 2004.

  1. sigep739

    sigep739 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    156
    Hello-

    I am looking to block Asia (specifically Korea) from even checking out my machine. I saw that there is a way to stop them from going to a site by using .htaccess- but how do you stop them from accessing the entire server?
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    168
    You can find out what IPs each country uses here

    Than you could do iptables rules against them.

    iptables -I INPUT -S ip -j DROP for example :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice