This database contains IP addresses which are being used as open proxies (PUB). The database includes records of proxy type and country for all public IPv4 & IPv6 addresses. Commercial edition covers virtual private networks (VPN), open proxies (PUB), web proxies, Tor exits, data center & web hosting ranges (DCH), search engine robots (SES), residential proxies (RES), consumer privacy networks (CPN), and enterprise private networks (EPN).
Anonymous proxy servers are intermediate servers meant to hide the real identity or IP address of the requestor. Studies found that a large number of anonymous proxy users are generally responsible for online credit card fraud, forums and blogs spamming.
IP2Proxy database is based on a proprietary detection algorithm in parallel of real-time detection of anonymous open proxy servers which are actively in use. We generate an up-to-date list of anonymous proxy IP addresses every 24 hours. Web developers can automate the download once a day from our server and import the anonymous IP address list into server using download scripts . If you prefer a hosted service, you can get the IP2Proxy™ Web Service .
It is free for personal or commercial use with attribution required by mentioning the use of this data as follows,
Please get the commercial edition if you are looking for high data accuracy, more records & customer support. Please visit product comparison page for more information.
Let's explore this database which provides a valuable resource of proxy data for free now!
Sign Up For FreeList of IP addresses used as open proxies (PUB) . Each record consists of country code, country name and proxy types. Please upgrade to commercial IP2Proxy database for IP addresses of VPN, web proxies, Tor exits, data centers (DCH) and search engine robots (SES).
Current Version | 21 November 2024 |
---|---|
Next Update | December 2024 |
IPv4 Database Size | CSV: 55.39 MB (1,055,568 Rows) |
IPv6 Database Size | CSV: 66.68 MB (1,060,601 Rows) |
IPv4 + IPv6 Binary Size |
BIN: 158.95 MB |
Database Format |
Binary (BIN)
ASCII Text File (CSV) |
Name | Type | Description |
---|---|---|
ip_from | INT (10)† / DECIMAL (39,0)†† | First IP address show netblock. |
ip_to | INT (10)† / DECIMAL (39,0)†† | Last IP address show netblock. |
proxy_type | VARCHAR(3) | Type of proxy |
country_code | CHAR(2) | Two-character country code based on ISO 3166. |
country_name | VARCHAR(64) | Country name based on ISO 3166. |
† IPv4
†† IPv6
Proxy Type | Description | Anonymity |
---|---|---|
VPN | Anonymizing VPN services. These services offer users a publicly accessible VPN for the purpose of hiding their IP address. | High |
TOR | Tor Exit Nodes. The Tor Project is an open network used by those who wish to maintain anonymity. | High |
DCH | Hosting Provider, Data Center or Content Delivery Network. Since hosting providers and data centers can serve to provide anonymity, the Anonymous IP database flags IP addresses associated with them. | Low |
PUB* | Public Proxies. These are services which make connection requests on a user's behalf. Proxy server software can be configured by the administrator to listen on some specified port. These differ from VPNs in that the proxies usually have limited functions compare to VPNs. | High |
WEB | Web Proxies. These are web services which make web requests on a user's behalf. These differ from VPNs or Public Proxies in that they are simple web-based proxies rather than operating at the IP address and other ports level. | High |
SES | Search Engine Robots. These are services which perform crawling or scraping to a website, such as, the search engine spider or bots engine. | Low |
RES | Residential proxies. These services offer users proxy connections through residential ISP with or without consents of peers to share their idle resources. | High |
CPN | Consumer Privacy Network. These services ensure encrypted traffic from the user's browser by routing internet requests through relays, concealing the IP address, location, and browsing activity. | Low |
EPN | Enterprise Private Network. Services like SASE or SD-WAN combine network security functions with wide-area networking (WAN) capabilities to meet the secure remote access needs of organizations. | Low |
Below are the steps to set up the database for both IPv4 and IPv6 data.
CREATE DATABASE ip2location;
USE ip2location;
CREATE TABLE `ip2location_px2`(
`ip_from` INT(10) UNSIGNED,
`ip_to` INT(10) UNSIGNED,
`proxy_type` VARCHAR(3),
`country_code` CHAR(2),
`country_name` VARCHAR(64),
PRIMARY KEY (`ip_to`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
LOAD DATA LOCAL
INFILE 'IP2PROXY-LITE-PX2.CSV'
INTO TABLE
`ip2location_px2`
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 0 LINES;
CREATE DATABASE ip2location
GO
USE ip2location
GO
CREATE TABLE [ip2location].[dbo].[ip2location_px2](
[ip_from] bigint NOT NULL,
[ip_to] bigint NOT NULL,
[proxy_type] nvarchar(3) NOT NULL,
[country_code] nvarchar(2) NOT NULL,
[country_name] nvarchar(64) NOT NULL
) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [ip_to] ON [ip2location].[dbo].[ip2location_px2]([ip_to]) ON [PRIMARY]
GO
BULK INSERT [ip2location].[dbo].[ip2location_px2]
FROM '{PATH TO IP2PROXY-LITE-PX2.CSV}'
WITH
(
FORMATFILE = '{PATH TO PX2.FMT}'
)
GO
NOTE: You will need to copy the FMT code below and save it as a file named PX2.FMT on your computer.
12.0
6
1 SQLCHAR 0 1 "\"" 0 first_double_quote Latin1_General_CI_AI
2 SQLCHAR 0 20 "\",\"" 1 ip_from "",
3 SQLCHAR 0 20 "\",\"" 2 ip_to "",
4 SQLCHAR 0 3 "\",\"" 3 proxy_type Latin1_General_CI_AI,
5 SQLCHAR 0 2 "\",\"" 4 country_code Latin1_General_CI_AI,
6 SQLCHAR 0 64 "\",\"" 5 country_name Latin1_General_CI_AI
CREATE DATABASE ip2location WITH ENCODING 'UTF8';
\c ip2location
CREATE TABLE ip2location_px2(
ip_from bigint NOT NULL,
ip_to bigint NOT NULL,
proxy_type character varying(3) NOT NULL,
country_code character(2) NOT NULL,
country_name character varying(64) NOT NULL,
CONSTRAINT ip2location_db1_pkey PRIMARY KEY (ip_from, ip_to)
);
COPY ip2location_px2 FROM 'IP2PROXY-LITE-PX2.CSV' WITH CSV QUOTE AS '"';
mongoimport -u USERNAME -p PASSWORD --authenticationDatabase admin --drop --db ip2location --collection ip2location_px2_ipv6 --type csv --file "IP2PROXY-LITE-PX2.CSV" --fields ip_from,ip_to,proxy_type,country_code,country_name
CREATE DATABASE ip2location;
USE ip2location;
CREATE TABLE `ip2location_px2_ipv6`(
`ip_from` DECIMAL(39,0) UNSIGNED,
`ip_to` DECIMAL(39,0) UNSIGNED,
`proxy_type` VARCHAR(3),
`country_code` CHAR(2),
`country_name` VARCHAR(64),
PRIMARY KEY (`ip_to`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
LOAD DATA LOCAL
INFILE 'IP2PROXY-LITE-PX2.IPV6.CSV'
INTO TABLE
`ip2location_px2_ipv6`
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 0 LINES;
CREATE DATABASE ip2location
GO
USE ip2location
GO
CREATE TABLE [ip2location].[dbo].[ip2location_px2_ipv6](
[ip_from] char(39) NOT NULL,
[ip_to] char(39) NOT NULL,
[proxy_type] nvarchar(3) NOT NULL,
[country_code] nvarchar(2) NOT NULL,
[country_name] nvarchar(64) NOT NULL
) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [ip_to] ON [ip2location].[dbo].[ip2location_px2_ipv6]([ip_to]) ON [PRIMARY]
GO
BULK INSERT [ip2location].[dbo].[ip2location_px2_ipv6]
FROM '{PATH TO IP2PROXY-LITE-PX2.IPV6.CSV}'
WITH
(
FORMATFILE = '{PATH TO PX2.FMT}'
)
GO
NOTE: You will need to copy the FMT code below and save it as a file named PX2.FMT on your computer. The first line of the FMT code indicates the version of bcp. Please change the version as according to your MS-SQL installed.
12.0
6
1 SQLCHAR 0 1 "\"" 0 first_double_quote Latin1_General_CI_AI
2 SQLCHAR 0 39 "\",\"" 1 ip_from "",
3 SQLCHAR 0 39 "\",\"" 2 ip_to "",
4 SQLCHAR 0 3 "\",\"" 3 proxy_type Latin1_General_CI_AI,
5 SQLCHAR 0 2 "\",\"" 4 country_code Latin1_General_CI_AI,
6 SQLCHAR 0 64 "\",\"" 5 country_name Latin1_General_CI_AI
CREATE DATABASE ip2location WITH ENCODING 'UTF8';
\c ip2location
CREATE TABLE ip2location_px2_ipv6(
ip_from decimal(39,0) NOT NULL,
ip_to decimal(39,0) NOT NULL,
proxy_type character varying(3) NOT NULL,
country_code character(2) NOT NULL,
country_name character varying(64) NOT NULL,
CONSTRAINT ip2location_db1_pkey PRIMARY KEY (ip_from, ip_to)
);
COPY ip2location_px2_ipv6 FROM 'IP2PROXY-LITE-PX2.IPV6.CSV' WITH CSV QUOTE AS '"';
mongoimport -u USERNAME -p PASSWORD --authenticationDatabase admin --drop --db ip2location --collection ip2location_px2_ipv6 --type csv --file "IP2PROXY-LITE-PX2.IPV6.CSV" --fields ip_from,ip_to,proxy_type,country_code,country_name
IP2Location provides a free, pre-configured & ready-to-run AMI and images to easily set up the database.
Please review the General Terms and Conditions for the database licensing.
Enhance your applications with essential geolocation data by using our FREE databases.