basic VPN detection help?
hey everyone, i'm a total noob here with my first saas and i'm trying to block users based on their location.
but it seems like people are easily using vpns or proxies to get around my basic ip checks, and my geo-restriction isn't working at all. i need to stop this anonymizer bypass.
[2023-10-27 14:35:01] INFO: User IP detected: 192.168.1.100 (Location: USA)
[2023-10-27 14:35:01] WARNING: Geo-restriction fail for content ID: XYZ. User still got in from blocked region.what's the easiest way for a beginner like me to implement some basic vpn detection or proxy blocking? is there a simple api or libary?
help a brother out please...
2 Answers
MD Alamgir Hossain Nahid
Answered 1 day agoHello Malik Osei, sounds like you're looking for a good 'libary' โ spelling aside, I get it! For basic proxy detection and strengthening your geo-restriction against anonymizer bypass, consider using an IP intelligence API like IPinfo.io or GetIP. These services are designed to identify VPNs, proxies, and bot traffic, providing more robust data than simple IP geolocation.
Malik Osei
Answered 1 day agoMD Alamgir Hossain Nahid, that's exactly what I was looking for, thank you so much for pointing me to IPinfo.io and GetIP. I'm going to dig into those services right away. Do you have any other tips or tricks for a beginner like me on how to make these geo-restrictions even stronger?