Telegram IP ranges

Telegram publishes the address ranges of its servers. You use the list to allow bot webhook calls in your firewall, and to allow access to Telegram servers on a network that restricts outgoing traffic.
IPv4 ranges
9
IPv6 ranges
5
Last change
06.12.2026
Last check
06.12.2026

One range per line, IPv4 first, then IPv6.

Text · 14 ranges
91.105.192.0/23
91.108.4.0/22
91.108.8.0/22
91.108.12.0/22
91.108.16.0/22
91.108.20.0/22
91.108.56.0/22
149.154.160.0/20
185.76.151.0/24
2001:67c:4e8::/48
2001:b28:f23c::/48
2001:b28:f23d::/48
2001:b28:f23f::/48
2a0a:f280::/32

When you need the Telegram addresses

A Telegram bot that works with a webhook receives each update as an HTTPS request from Telegram servers. According to Telegram, these requests come from the ranges 149.154.160.0/20 and 91.108.4.0/22, and can be received only on ports 443, 80, 88, and 8443. Telegram notes that the ranges may change. The list here is the full Telegram range file, and it is also useful on a network that restricts outgoing traffic and needs to allow the app.

Protecting your bot's webhook URL

In addition to restricting by address, set the secret_token parameter in setWebhook. Telegram sends the value in the X-Telegram-Bot-Api-Secret-Token header with every request, and your server rejects any request without the correct value:

Nginx
location /telegram-webhook {
    allow 149.154.160.0/20;
    allow 91.108.4.0/22;
    deny all;
    if ($http_x_telegram_bot_api_secret_token != "replace-with-your-secret-token") {
        return 403;
    }
    proxy_pass http://127.0.0.1:8080;
}
  • This list is published by Telegram in an official file, and we check it every week. The service is not affiliated with ErezNet.
  • On a Linux VPS, you get full root access and configure the firewall and the web server yourself with these lists.

Telegram IP ranges FAQ

When do I need to allow the Telegram addresses?

When Telegram needs to reach your server, for example to send a webhook, or when your server needs to reach the service on a network that restricts traffic. Allow the addresses in the list, preferably only on the port the service needs.

How do I add these addresses to my firewall?

Choose the right format on this page, such as iptables, UFW, firewalld, CSF, or nftables, and copy the rules. The rules allow TCP connections to ports 80 and 443, and you can change them to the port the service needs.

How often is this list updated?

We check the official Telegram file once a week and update the page when something changes. The date of the last check is at the top of the page.

Shopping cart

Your cart is emptyYou can start with one of our popular plans.

Site search

Accessibility

Text size
100%
Accessibility statement