Results 1 to 6 of 6

Thread: How to block certain countries

  1. #1
    Newbie191's Avatar
    Newbie191 is offline I am a lazy bum!:(
    Join Date
    Aug 2009
    Posts
    87
    Thanks
    17
    Thanked 18 Times in 11 Posts

    How to block certain countries

    Can anybody tell me herehow can I block visitors from certain countries to use my proxies??
    I am getting lots of visitors from Arab countries and it is just waste of bandwidth Because this traffic does not generate any revenue.
    Plus I am using glype script and a cpanel hosting.

  2. #2
    Aziz's Avatar
    Aziz is offline no investment, no glory
    Join Date
    May 2009
    Location
    IL
    Posts
    736
    Thanks
    588
    Thanked 243 Times in 168 Posts
    I'm sure there is a solution posted somewhere on the forum. called GeoIP or something

  3. #3
    Newbie191's Avatar
    Newbie191 is offline I am a lazy bum!:(
    Join Date
    Aug 2009
    Posts
    87
    Thanks
    17
    Thanked 18 Times in 11 Posts
    There must be an easier way to do it. I mean by glype admin panel or something. I am a real newbie if we talk about coding etc.

  4. #4
    Aussie's Avatar
    Aussie is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    138
    Thanks
    11
    Thanked 46 Times in 36 Posts
    You can use block a country, block by ip address, deny access by country and it produces a list you can cut and paste into your htaccess file.

    Probably the simplest solution for newbies

    Aus

  5. Thanked by:

    Aziz (28 November, 2009), Newbie191 (29 November, 2009)

  6. #5
    Mike-XS's Avatar
    Mike-XS is offline XeroAgent
    Join Date
    Sep 2009
    Location
    OZ
    Posts
    209
    Thanks
    30
    Thanked 109 Times in 71 Posts
    Have a read through these, should get you started in the right direction.

    http://programmerdot.com/17/maxmind-geoip-php.htm

    Block A Country

    Block Countries with Geoip Lite (Easiest Way)

    How to install GeoIP and block foreign traffic

    How to Block and Redirect a country to a different site ?


    If you want to go with htaccess blocking, there's another alternative which I think is a little more accurate compared to the Blockacountry Lists:
    http://www.countryipblocks.net/
    http://www.countryipblocks.net/continents/

    I think last time I used blockacountry my IP range was incorrectly listed as china.
    Last edited by Mike-XS; 29 November, 2009 at 12:18 PM. Reason: because it's like that and that's the way it is

  7. Thanked by:

    Aussie (30 November, 2009), neverlast (4 December, 2009), Newbie191 (29 November, 2009)

  8. #6
    Glypus is offline Naturally Straight Edge
    Join Date
    Jun 2009
    Location
    Secret
    Posts
    209
    Thanks
    21
    Thanked 21 Times in 17 Posts
    I finally got around to using geoip. It was simple once I got the hang of it. Looked intimidating at first, so I procrastinated for ages on trying it out.
    Best proxy hosting ever - Almost Zero downtime + Superfast Use coupon "TEWD" for 50% off for lifetime

Similar Threads

  1. How to Show Different Ads to Different Countries?
    By javanx3d in forum Affiliate Marketing
    Replies: 6
    Last Post: 19 February, 2011, 13:22 PM
  2. Proxy Sites - Adsense - Countries To Block ??
    By Soulzripper in forum AdSense
    Replies: 17
    Last Post: 20 October, 2009, 13:20 PM
  3. Block Countries with Geoip Lite (Easiest Way)
    By ruben in forum Web Proxies
    Replies: 0
    Last Post: 5 October, 2009, 22:43 PM
  4. GeoIP tutorial - block countries..etc
    By Keldorn in forum Programming
    Replies: 0
    Last Post: 22 September, 2009, 08:58 AM
  5. Which Countries?
    By Aytac01 in forum General Chat
    Replies: 7
    Last Post: 11 May, 2009, 19:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •