how to block IPs from a certain location?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Praha
    Registered User
    • Nov 2005
    • 18

    #1

    how to block IPs from a certain location?

    Actually I know how to block the IPs, I just am having trouble finding the ranges. I need to block IPs from Ontario, can anyone tell me how to find the IP ranges to block?
  • NoHassleSteve
    Confirmed User
    • Jul 2004
    • 450

    #2
    Could try to use one of the free GEO IP Databases?

    http://www.google.com/search?ie=UTF-...IP%20databases
    Tai Lynn - Asian model with 50% revshare
    Teen Dolls with Alyssa Doll -- 60% payouts Spunkbucks PPS and Revshare
    NS Cash -- sites with pornstars and fresh faces -- 60% payouts

    Comment

    • Praha
      Registered User
      • Nov 2005
      • 18

      #3
      thanks.. I found a solution actually.

      Comment

      • tunafox
        Confirmed User
        • Apr 2006
        • 275

        #4
        Originally posted by Praha
        Actually I know how to block the IPs, I just am having trouble finding the ranges. I need to block IPs from Ontario, can anyone tell me how to find the IP ranges to block?
        You could use an ip blocker

        But seriously, I would be interested in your solution...
        Hot & wet, just what i'm looking for...

        Comment

        • cdnjpn
          Registered User
          • Jun 2006
          • 19

          #5
          Hi Praha,
          Yes! Please share your solution! I'm trying to do this as well. Thanks.
          Chris

          Comment

          • Praha
            Registered User
            • Nov 2005
            • 18

            #6
            ok.

            these guys have a nice free script that blocks countries:
            ip2country.net/ip2country/
            took a bit to get the hang of it, but it works.

            I wanted to block more specifically than that so I bought their ip2region database.. and then found out it wouldnt work with the country blocking script.
            which seems very silly to me.. and these guys could have a nice product if they updated the script a little... however I emailed them and explained what I wanted to use the region db with the country blocking script and they sent me some replacement PHP code to make it work! good customer service.

            Comment

            • frakyou
              Registered User
              • Jun 2006
              • 2

              #7
              What do you have against Ontario other than the fact that they're Canadians?

              Comment

              • rickmercer
                Registered User
                • Mar 2006
                • 7

                #8
                must live in ontario....

                Comment

                Working...