How to use IP2Location GeoLocation with Nginx

Geolocation is important, regardless of whether you are a marketer, online business owner, advertiser and so on. We need geolocation information to help us to learn more about our clients. For example, where are they coming from, what is their time zone, are they visiting via a proxy and many […]

How to use IP2Proxy with Nginx

Malicious activities usually done via an anonymous proxy where the perpetrator’s identity was hidden from tracking. You can easily fall prey to the fraudsters unless with the right tools to detect a proxy. You need to a way to easily tell if a visitor is coming from a non-proxy traffic, […]

Display San Francisco Bay Area

In this tutorial, we demonstrate how to extract Bay Area information based on their IP address using C#/VB.NET/PHP/Java programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE DB3 CSV database to extract Bay Area information from the visitor’s IP address. Free databases are available for […]

Display Visitor’s Proxy Using IP2Proxy Web Service

In this tutorial, we use the IP2Proxy™ Web Service to detect proxy details from the visitor’s IP address. Instead of loading the full database, you can also lookup IP address via our hosted web service. IP2Proxy™ Web API uses a single web interface to perform the lookup logic. The protocol […]

How to lookup for proxy record using PHP and MySQL

This tutorial shows you on how to lookup for a proxy record from the MySQL database using PHP programming language. This tutorial uses IP2Proxy PX11 database as the example, but the logic can be used for other IP2Proxy PX database query, namely PX1, PX2, PX3, PX4, PX5, PX6, PX7, PX8, PX9, PX10. Set up […]

Converting IP address ranges into Netmask format

In this tutorial, we will demonstrate you on how to convert IP address ranges into Netmask format. A netmask is a 32-bit number that masks an IP address and divides the IP address into subnets. An example of netmask notation is 8.8.8.0/255.255.255.0. The example represents the IP ranges from 8.8.8.0 […]

Geolocate Fail2Ban IP Using IP2Location

This tutorial will show you how to retrieve the geolocation information for the banned IP addresses reported inside the fail2ban log file. Depending on the IP2Location BIN data that you are using for the lookup, you could get very detailed information like below if you are using the IP2Location DB26 BIN […]

Converting IP address ranges into CIDR format

In this tutorial, we will demonstrate you on how to convert IP address ranges into CIDR format. What is CIDR CIDR, which stands for Classless Inter-Domain Routing, is a method used for efficiently allocating and routing IP addresses on the internet. It was introduced to overcome some limitations of the […]

Integrating IP2Location C Library With Go Programming Language

The aim of this guide is to demonstrate integrating the IP2Location C library within the Go programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]

Integrating IP2Location C Library With D Programming Language

The aim of this guide is to demonstrate integrating the IP2Location C library within the D programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]