How Can I block geographic locations from viewing a site

Discussion in 'Technical' started by grandpagenocide, Jan 21, 2009.

  1. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    I need to block out a couple entire states from viewing a website, or better yet certain pages of a website, and i cant seem to find any tutorials in linux to do it.
     
  2. topdog

    topdog Active Member HowtoForge Supporter

  3. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    thanks i was looking at maxmind already but cant find a tut on here-

    found it thanks, ill see if geo lite city can get working on it
     
    Last edited: Jan 21, 2009
  4. bernholdt

    bernholdt Member

  5. topdog

    topdog Active Member HowtoForge Supporter

    You do not need a tutorial, the page explains most, and the README included in the tarball.

    The http://www.blockacountry.com/ is not accurate, i just checked there SA networks that are not listed as SA networks.
     
  6. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    hey thanks for the info, i tried maxmind and can only get as far as countries, im trying to block out LA, NY and NJ from the site. if i have to once i get it down to region ill just block CA NY and NJ
     
  7. athmane

    athmane New Member

    Last edited: Jan 21, 2009
  8. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    yea thats almost what im looking for, but i need it down to city or at least state, does anyone know a site that does that?
     
  9. marpada

    marpada New Member

    I don't know how ISPs in USA are organised, but I think what you want to do is impossible, just imagine all AOL IPs were based in CA, if you banned CA you'll end up banning users in the whole country :eek:
    ________
    ANIME TUBE
    ________
    The Office Forums
     
    Last edited: May 13, 2011
  10. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    ok so essentially i will have to do it by small blocks of IP's but i dont want aol looking at this site anyway bastards never liked them lmao
     
  11. topdog

    topdog Active Member HowtoForge Supporter

    If you purchase the real maxmind database you will be able to block by state.
     
  12. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    ok thanks im going to look into maxmind db pricing
     

Share This Page