Questions tagged [geoip]

84 questions
0
votes
1 answer

Setting up GeoIP to work with Nginx on Debian 11

I am trying to set up Nginx v. 1.24.0 and GeoIPupdate to work so that users not from a specific country do not get access to the web server. However, as I'm following every guide I see that it is outdated, either the links do not work, because…
Tomulis
  • 1
  • 1
0
votes
0 answers

What's the recommended way to use GeoIP2 with a varying mirror list?

I want to setup a webserver, where every HTTP request is directly redirected to a nearby mirror. So far we used the unfortunately no longer supported Perl module Apache2::Geo::IP together with Apache's mod_perl and the legacy Geo::IP from MaxMind…
Erich
  • 111
  • 4
0
votes
3 answers

Unable to Set Custom Error Page 403 for GeoIP

Please need your help. Unable to display the custom error 403 page for geoip restriction. It is always showing default error page 403 Forbidden. Here are my Configurations. /etc/nginx/nginx.conf geoip2…
0
votes
1 answer

xt_geoip not blocking connections?

I have xt_geoip configured to block connections from various countries, but it appears that connections are still being allowed from those countries. From my /etc/iptables/rules.v4 (reduced a little): # Generated by iptables-save v1.6.0 on Wed Nov …
r2evans
  • 125
  • 8
0
votes
1 answer

nginx TCP forwarding with GeoIP

CentOS 7.8 nginx version: nginx/1.18.0 yum install nginx-module-geoip yum install GeoIP GeoIP-data Then, GeoIO runs well with HTTP(S). I need nginx to forward a TCP port, which is only open to CN add to nginx.conf stream { geoip_country…
0
votes
0 answers

Nginx: implementing country block with a map

I am trying to implement, on a nginx webserver, a country block with a map. This is my server configuration: include snippets/ban-country-codes.conf; include snippets/ban-user-agent.conf; server { listen 80 default_server; …
Sandro B.
  • 66
  • 6
0
votes
1 answer

Does CDN defeat the purpose of server-level GeoIP blocking?

Looking for second opinions. Suppose a website is set up so that only IPs from country X are allowed read/write access. This server goes through a CDN such as Cloudflare. Because the GeoIP block is at server level, it never gets enabled because…
cvlo
  • 1
  • 2
-1
votes
1 answer

Is there any rate limit when using the whois command on ips?

The data returned by whois ip-address appears to be very useful and more accurate than the data I get from the maxmind geoip databsae I am currently using. Where does the data come from and are there any rate limits? Of course I will cache…
The Shurrican
  • 2,240
  • 7
  • 39
  • 60
-1
votes
1 answer

How to Enable geoip on magento with varnish page cache

I currently have 3 stores online with 3 different domains, running magento with Apache and varnish (using Phoenix page cache extension) running on centos One store is for uk, another for Ireland and another for USA Trouble is (Example) If an US…
molleman
  • 111
  • 4
1 2 3 4 5
6