• I am trying to setup country blocking for certain countries on one of my sites. As a test, I first added all the IPs from the country where I am located to the .htaccess file. Then I tried accessing the site. The .htaccess file works correctly with all browsers on Windows desktop computers and all iOS and Android portable devices except when using the Chrome Browser on Android 8.0. Meaning I am still able to get into the site using Chrome on an Android device running Android Oreo when I should not be able to.

    I then removed the IP blocks from the .htaccess file and installed the iQ Block Country plugin instead. I set it all up correctly to block my own country and tested it. The results were the same. The iQ Block Country plugin works correctly with all browsers on Windows desktop computers and all iOS and Android portable devices except when using the Chrome Browser on Android 8.0. Meaning I am still able to get into the site using Chrome on an Android device running Android Oreo when I should not be able to.

    Has anyone experienced this same issue and is there any solution to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I’ve just tested this myself on Android 8 with Chrome but could not reproduce this. I was properly blocked. The IP address was also the same address ‘as usual’ so no masquerading there of any sort.

    Might be a mobile proxy of some sort. What does it say in your raw web server access logs?

    Thread Starter Jixxer

    (@jixxer)

    Thank you for your quick reply on this Pascal and for testing it yourself.

    At the moment I have removed all IP addresses from the .htaccess file and I am just using the iQ Block Country plugin.

    By the way, I just wanted to add that I am testing on a Nokia 6 smartphone. It shouldn’t make any different what the hardware is that is running Android, but just mentioning it in case it helps. It is also the only device I have that runs Android so unfortunately I can’t test it on any other portable Android devices.

    I don’t believe my Android version of Chrome is going through any proxy. In fact, I just did a cmyip.com check using the Chrome browser on the Nokia 6 and it showed my correct IP.

    I also just went into the raw web sever access log for the site and did a scan for my IP address in the log and I could not find it showing my latest access into the site from the Android Chrome browser.

    Still all a bit of a strange mystery it seems.

    • This reply was modified 6 years, 8 months ago by Jixxer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem With IP Blocking’ is closed to new replies.