Private Internet Access IP ranges
Current IP ranges (CIDRs) used by the Private Internet Access network, updated daily.
| category | VPN & Networks |
|---|---|
| website | https://www.privateinternetaccess.com |
| ranges | 1,596 (1,596 IPv4, 0 IPv6) |
| last change | |
| downloads | 422 |
| download | txt csv json — permalinks, always the latest data |
curl -O https://cloud-ip-ranges.com/download/private-internet-access.txt
Ranges
Sample of 25 of 1,596 ranges. Download the full list above, or check a specific IP.
| CIDR | Type | Region | Tag |
|---|---|---|---|
| 31.58.38.13/32 | ipv4 | Myanmar | ikev2 |
| 31.58.38.121/32 | ipv4 | Myanmar | ikev2 |
| 37.19.197.141/32 | ipv4 | US East | ikev2 |
| 37.19.197.215/32 | ipv4 | US East | ikev2 |
| 45.11.172.137/32 | ipv4 | Hungary | ikev2 |
| 31.58.38.26/32 | ipv4 | Myanmar | meta |
| 31.58.38.88/32 | ipv4 | Myanmar | meta |
| 31.171.155.132/32 | ipv4 | Albania | meta |
| 31.171.155.133/32 | ipv4 | Albania | meta |
| 31.171.155.148/32 | ipv4 | Albania | meta |
| 31.58.38.119/32 | ipv4 | Myanmar | ovpntcp |
| 31.171.155.131/32 | ipv4 | Albania | ovpntcp |
| 31.171.155.143/32 | ipv4 | Albania | ovpntcp |
| 37.19.197.148/32 | ipv4 | US East | ovpntcp |
| 37.19.197.212/32 | ipv4 | US East | ovpntcp |
| 31.58.38.19/32 | ipv4 | Myanmar | ovpnudp |
| 31.58.38.54/32 | ipv4 | Myanmar | ovpnudp |
| 31.171.155.150/32 | ipv4 | Albania | ovpnudp |
| 31.171.155.155/32 | ipv4 | Albania | ovpnudp |
| 31.171.155.157/32 | ipv4 | Albania | ovpnudp |
| 31.171.155.130/32 | ipv4 | Albania | wg |
| 37.19.197.130/32 | ipv4 | US East | wg |
| 37.19.197.203/32 | ipv4 | US East | wg |
| 45.132.195.88/32 | ipv4 | Luxembourg | wg |
| 45.132.195.212/32 | ipv4 | Luxembourg | wg |
Blocking Private Internet Access
iptables
curl -sO https://cloud-ip-ranges.com/download/private-internet-access.txt
while read ip; do
iptables -A INPUT -s $ip -j DROP
iptables -A OUTPUT -d $ip -j DROP
done < private-internet-access.txt
ufw
curl -sO https://cloud-ip-ranges.com/download/private-internet-access.txt
while read ip; do
ufw deny from $ip
ufw deny to $ip
done < private-internet-access.txt
fail2ban
sudo tee /etc/fail2ban/filter.d/private-internet-access-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF
sudo tee /etc/fail2ban/jail.d/private-internet-access-block.conf << EOF
[private-internet-access-block]
enabled = true
filter = private-internet-access-block
action = iptables-allports[name=private-internet-access]
logpath = /tmp/private-internet-access.txt
findtime = 1
bantime = -1
maxretry = 1
EOF
curl -so /tmp/private-internet-access.txt https://cloud-ip-ranges.com/download/private-internet-access.txt
sudo systemctl restart fail2ban
pfSense / OPNsense
curl -sO https://cloud-ip-ranges.com/download/private-internet-access.txt
# Firewall > Aliases: new alias PRIVATE-INTERNET-ACCESS_BLOCK, type Network(s), import the file
# Firewall > Rules > WAN: Action=Block, Source=PRIVATE-INTERNET-ACCESS_BLOCK
About
These IP ranges cover the Private Internet Access network and are updated regularly from its official source. The data includes IPv4 and IPv6 ranges. Last update was about 10 hours ago.
Other providers
AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, AppleBot, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, BingBot, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, ClaudeBot, Cloudflare, Datadog, DigitalOcean, DuckDuckBot, Fastly, Gabia, G-Core, GitHub, Googlebot, Google Cloud, Google Public DNS, Google Services, GPTBot, Hetzner, Hostway, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, Meta, Microsoft 365, Mistral, Mullvad, NHN Cloud, NordVPN, OpenAI ChatGPT, OpenAI SearchBot, Oracle Cloud, OVHcloud, OVPN.com, PerplexityBot, Perplexity-User, Pingdom, QUIC.cloud, Rackspace, Rapid7 Sonar, Salesforce, Scaleway, Shodan, StatusCake, StormWall, Stretchoid, Sucuri, Telegram, Tencent, TOR, UpCloud, UptimeRobot, Vultr, Wasabi, Windscribe, Yandex, Zoho, Zoom, Zscaler