IPINFO.ZIP
Language: English

Telegram IP ranges

12 IPv4 and 6 IPv6 prefixes that Telegram publishes for its services, with the region where the provider gives one.

Release Dec 5, 2026 · updated weekly, every Monday

IPv4 prefixes 12
IPv6 prefixes 6
IPv4 addresses 11,008

Telegram IP ranges

One CIDR per line, for firewalls and scripts. The CSV adds the details.

Use the list

Fetch the list in a script, a firewall or a web server configuration. It changes when the provider changes its ranges.

telegram.txt
# Telegram IPv4 and IPv6 ranges, one CIDR per line
curl -s https://ipinfo.zip/ip-ranges/telegram.txt -o telegram.txt

# nginx: allow only Telegram (e.g. in front of a load balancer)
awk '{ print "allow " $1 ";" }' telegram.txt > telegram-allow.conf
echo 'deny all;' >> telegram-allow.conf

Other providers