PascalMinder / geoblock

Traefik middleware plugin - Deny requests based on country of origin
105 stars 9 forks source link

Geo js - gives "wrong" ip location #58

Closed h1ght closed 2 months ago

h1ght commented 3 months ago

hello,

ive tested curling this via a server in finnland by hetzner. it gives the "wrong" county code. https://www.iplocation.net/ip-lookup gives different location info. i guess this service doenst "filter" hosters correctly?

regards

PascalMinder commented 3 months ago

I think it's possible that not all IP addresses will return the correct country code. But there is a setting to change the look-up address for any IP address. If the iplocation.net service works better for you, you can change it in your settings. :)