cloud-ip-ranges:~$

Private Internet Access logo Private Internet Access IP Ranges

Download current IP ranges (CIDRs) used by the Private Internet Access network.

Provider Information

Category
VPN & Networks
Total IP Ranges
1,188
1,188 IPv4 · 0 IPv6
Last Updated
Total Downloads
9

Download Options

Choose your preferred format. All downloads are permalinks that always provide the latest data.

IP Ranges

First 25 of 1,188 ranges. Download the full list above, or search for a specific IP.

CIDR Type Region Tag
31.171.155.130/32 ipv4 Albania ikev2
31.171.155.131/32 ipv4 Albania ikev2
31.171.155.132/32 ipv4 Albania meta
31.171.155.133/32 ipv4 Albania meta
31.171.155.137/32 ipv4 Albania ovpntcp
31.171.155.145/32 ipv4 Albania ovpnudp
31.171.155.157/32 ipv4 Albania ovpnudp
37.19.197.159/32 ipv4 US East meta
37.19.197.165/32 ipv4 US East ikev2
37.19.197.169/32 ipv4 US East ovpnudp
37.19.197.172/32 ipv4 US East wg
37.19.197.183/32 ipv4 US East ovpntcp
37.19.197.219/32 ipv4 US East meta
37.19.197.229/32 ipv4 US East ovpntcp
37.19.197.231/32 ipv4 US East ikev2
37.19.197.236/32 ipv4 US East wg
37.19.197.241/32 ipv4 US East ovpnudp
37.19.198.52/32 ipv4 US New York ovpnudp
37.19.198.60/32 ipv4 US New York ovpntcp
37.19.198.75/32 ipv4 US New York ikev2
37.19.198.162/32 ipv4 US New York meta
37.19.198.164/32 ipv4 US New York meta
45.11.172.7/32 ipv4 Hungary ovpntcp
45.11.172.8/32 ipv4 Hungary ovpnudp
45.11.172.51/32 ipv4 HU Streaming Optimized ovpntcp

Usage Examples - Blocking Private Internet Access IPs

Download the IP ranges

# Download with curl
curl -O https://cloud-ip-ranges.com/download/private-internet-access.txt

# Or download with wget
wget https://cloud-ip-ranges.com/download/private-internet-access.txt

Block with iptables (Linux firewall)

# Download and block Private Internet Access IPs with iptables
wget -O private-internet-access_ips.txt 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_ips.txt

Block with UFW (Ubuntu/Debian firewall)

# Download and block Private Internet Access IPs with UFW
wget -O private-internet-access_ips.txt 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_ips.txt

Block with fail2ban (intrusion prevention)

# Create fail2ban filter for Private Internet Access
sudo tee /etc/fail2ban/filter.d/private-internet-access-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF

# Create jail configuration
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_ips.txt
findtime = 1
bantime = -1
maxretry = 1
EOF

# Download IP list and restart fail2ban
wget -O /tmp/private-internet-access_ips.txt https://cloud-ip-ranges.com/download/private-internet-access.txt
sudo systemctl restart fail2ban

Block with pfSense/OPNsense (FreeBSD firewall)

# Create alias table for Private Internet Access IPs
# 1. Download the IP list
wget -O private-internet-access_ips.txt https://cloud-ip-ranges.com/download/private-internet-access.txt

# 2. In pfSense/OPNsense web interface:
# - Go to Firewall > Aliases
# - Create new alias named "PRIVATE-INTERNET-ACCESS_BLOCK"
# - Type: Network(s)
# - Import the downloaded file
#
# 3. Create firewall rule:
# - Go to Firewall > Rules > WAN
# - Add rule: Action=Block, Source=PRIVATE-INTERNET-ACCESS_BLOCK

About Private Internet Access IP Ranges

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 3 hours ago.