How to block Asia/China IP range from a list

Discussion in 'Networking' started by wallsfd949, Mar 11, 2004.

  1. wallsfd949

    wallsfd949 Golden Member

    Joined:
    Apr 14, 2003
    Messages:
    1,002
    Likes Received:
    0
    I have come across an IP list Here that list China and Korea IP ranges. I run an e-mail server and would like to block all trafic from China/Korea as most SPAM comes from the ARIN/RIPE/APNIC IP ranges. There are 3 formats : Contiguous, CIDR Format, and dnsbl zone file format. I use mailenable and Zonealarm Pro on my server thru a Linksys firewall. What is the best file to use and the best way to implement this?

    **** Please note before flaming: I am in no way prejudice against Asians or Chinese. We do not have any business with those countries and never get or expect to get legitimate e-mails from them. There is no reason for me not to block these IP ranges. The only reason for me to keep them unblocked is because I just love getting pen1$ en1arg3ment and v1agra offers. ****
     
  2. Loading...

    Similar Threads - block Asia China Forum Date
    Blocking a device from accessing the internet only Networking Mar 14, 2017
    Something blocking login Networking Feb 6, 2017
    is wifi half block away house to house easily done? Networking Jul 20, 2016
    /30 ip block 4 Networking Apr 26, 2016
    I got an user rdping from asia into us.... Networking Jun 25, 2012

  3. AFB

    AFB Lifer

    Joined:
    Jan 10, 2004
    Messages:
    10,718
    Likes Received:
    0
    Access control lists. Either use the mail server or the firewall.
     
  4. n0cmonkey

    n0cmonkey Elite Member

    Joined:
    Jun 10, 2001
    Messages:
    42,936
    Likes Received:
    0
    Is all of that really necessary? :p
     
  5. wallsfd949

    wallsfd949 Golden Member

    Joined:
    Apr 14, 2003
    Messages:
    1,002
    Likes Received:
    0
    :p You'd be surprised how many people can get offended that I want to block Asia and China. :p
     
  6. n0cmonkey

    n0cmonkey Elite Member

    Joined:
    Jun 10, 2001
    Messages:
    42,936
    Likes Received:
    0
    Your reasons are more than valid. Thanks for the list. If I get bored I'll throw those IPs into my firewall at home :D

    Just wish I knew your software so I could help.
     
  7. Night201

    Night201 Diamond Member

    Joined:
    Apr 23, 2001
    Messages:
    3,697
    Likes Received:
    0
    Can't help you there, but if you were using Linux, you could just create a custom firewall file that lists those ip addresses in the CIDR format and have the server drop any connection from those IP Addresses. That's what I do here and it helps alot with the SPAM.

    I'll look into this list as well. I have some on my list I think that are in these IP ranges.
     
  8. Kingofcomputer

    Kingofcomputer Diamond Member

    Joined:
    Apr 6, 2000
    Messages:
    4,917
    Likes Received:
    0
    Interesting....

    Everyday my company email got many spams from China/Korea/Brazil ip ranges, but the spam content is mostly about US trade listing, US webhosting service, US whatever.
    It's the US spammers using China/Korea/Brazil mail servers!
     
  9. dmcowen674

    dmcowen674 No Lifer

    Joined:
    Oct 13, 1999
    Messages:
    54,855
    Likes Received:
    14