The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    18
    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