Package: ip2proxy-c-4.3.0

Package: ip2proxy-apache-8.0.0

Install :  

Copy ip2proxy.lib to your Apache /bin folder

Copy mod_ip2proxy.so to your Apache /modules folder

Copy ip2proxy.exe to your Apache /bin folder

More information, including configuration details and downloads, can be found at:

https://github.com/ip2location/ip2proxy-c
and 
https://github.com/ip2location/ip2proxy-apache

Sample ip2proxy database files for testing can be downloaded from https://www.ip2location.com/database/lite

e.g. Sample Apache configuration entries

# ------------------

LoadModule IP2Proxy_module modules/mod_ip2proxy.so

<IfModule mod_ip2proxy.c>
  IP2ProxyEnable ON
  IP2ProxyDetectProxy ON
  IP2ProxySetmode ALL
  IP2ProxyDBFile "${SRVROOT}/conf/IP2PROXY-LITE-PX12.BIN"
</IfModule>

Note the order of the configuration settings is important. The module needs to be enabled before listing the required database file.

The command line utility ip2proxy.exe can used to manually query the relevant database files for an entry, e.g. 

C:\Apache24\bin>ip2proxy.exe -d C:\Apache24\conf\IP2PROXY-LITE-PX12.BIN --ip 192.111.137.37
"ip","is_proxy","proxy_type","country_code","country_name","region_name","city_name","isp","domain","as_number","as_name","last_seen","threat","provider","fraud_score"
"192.111.137.37","1","PUB","US","United States of America","Georgia","Marietta","Performive LLC","performive.com","46562","Performive LLC","1","SPAM/SCANNER/BOTNET","-","99"

