Restrict access from "spam known" countries?

Discussion in 'Site & Server Administration' started by kargul, Mar 23, 2010.

  1. #1
    What is the best way to restrict access to your dedicated server from countries that are known to produce most spammers? I'm thinking most Asian countries...
     
    kargul, Mar 23, 2010 IP
  2. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You may install on your machine, csf and then block the required range of ips on them.
    You can either block a range of ips or a couple of ips.
    Let me know if you require some additional help and we are glad to provide.
     
    maestria, Mar 24, 2010 IP
  3. GNetCoder

    GNetCoder Peon

    Messages:
    68
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Check out this site:

    http://www.countryipblocks.net/

    I use shorewall as a front-end to iptables to block access from certain Ip addresses or IP blocks.
     
    GNetCoder, Mar 24, 2010 IP
  4. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #4
    zacharooni, Mar 24, 2010 IP
  5. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #5
    I think the easiest way is to install CSF, then block by country code.
     
    Tearabite, Mar 27, 2010 IP