Allow these IPs on ports 80 and 443 at your origin server, and block everyone else. That way only EdgeShield can reach your origin — attackers who discover its real IP are dropped at your firewall.
All EdgeShield traffic to your origin comes from these addresses. This is the complete list.
Plain text list: /ipv4.txt · Last updated 2026-09-22
On Ubuntu/Debian with ufw. This allows only EdgeShield on 80/443 and denies the rest. Run it on your origin server, not on EdgeShield.
# Allow EdgeShield edge IPs on HTTP/HTTPS
for ip in \
185.246.131.29 185.226.172.126 185.237.185.35 \
45.154.206.48 94.156.250.29 185.186.76.45 \
92.118.205.9 185.126.236.29 37.143.129.81; do
ufw allow from $ip to any port 80 proto tcp
ufw allow from $ip to any port 443 proto tcp
done
# Block everyone else from 80/443 (EdgeShield is the only way in)
ufw deny 80/tcp
ufw deny 443/tcp
ufw reload
for ip in \
185.246.131.29 185.226.172.126 185.237.185.35 \
45.154.206.48 94.156.250.29 185.186.76.45 \
92.118.205.9 185.126.236.29 37.143.129.81; do
iptables -A INPUT -p tcp -s $ip -m multiport --dports 80,443 -j ACCEPT
done
iptables -A INPUT -p tcp -m multiport --dports 80,443 -j DROP