├── CIDRv6.txt ├── CIDRv6.conf ├── CIDRv6.yaml ├── CIDRv4.txt ├── CIDRv4.yaml ├── CIDRv4.conf ├── CIDR.txt ├── CIDR.yaml ├── CIDR.conf ├── README.md ├── .gitlab-ci.yml └── LICENSE /CIDRv6.txt: -------------------------------------------------------------------------------- 1 | 2001:b28:f23d::/48 2 | 2001:b28:f23f::/48 3 | 2001:67c:4e8::/48 4 | 2001:b28:f23c::/48 5 | 2a0a:f280::/32 6 | -------------------------------------------------------------------------------- /CIDRv6.conf: -------------------------------------------------------------------------------- 1 | IP-CIDR,2001:b28:f23d::/48 2 | IP-CIDR,2001:b28:f23f::/48 3 | IP-CIDR,2001:67c:4e8::/48 4 | IP-CIDR,2001:b28:f23c::/48 5 | IP-CIDR,2a0a:f280::/32 6 | -------------------------------------------------------------------------------- /CIDRv6.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - '2001:b28:f23d::/48' 3 | - '2001:b28:f23f::/48' 4 | - '2001:67c:4e8::/48' 5 | - '2001:b28:f23c::/48' 6 | - '2a0a:f280::/32' 7 | -------------------------------------------------------------------------------- /CIDRv4.txt: -------------------------------------------------------------------------------- 1 | 91.108.56.0/22 2 | 91.108.4.0/22 3 | 91.108.8.0/22 4 | 91.108.16.0/22 5 | 91.108.12.0/22 6 | 149.154.160.0/20 7 | 91.105.192.0/23 8 | 91.108.20.0/22 9 | 185.76.151.0/24 10 | -------------------------------------------------------------------------------- /CIDRv4.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - '91.108.56.0/22' 3 | - '91.108.4.0/22' 4 | - '91.108.8.0/22' 5 | - '91.108.16.0/22' 6 | - '91.108.12.0/22' 7 | - '149.154.160.0/20' 8 | - '91.105.192.0/23' 9 | - '91.108.20.0/22' 10 | - '185.76.151.0/24' 11 | -------------------------------------------------------------------------------- /CIDRv4.conf: -------------------------------------------------------------------------------- 1 | IP-CIDR,91.108.56.0/22 2 | IP-CIDR,91.108.4.0/22 3 | IP-CIDR,91.108.8.0/22 4 | IP-CIDR,91.108.16.0/22 5 | IP-CIDR,91.108.12.0/22 6 | IP-CIDR,149.154.160.0/20 7 | IP-CIDR,91.105.192.0/23 8 | IP-CIDR,91.108.20.0/22 9 | IP-CIDR,185.76.151.0/24 10 | -------------------------------------------------------------------------------- /CIDR.txt: -------------------------------------------------------------------------------- 1 | 91.108.56.0/22 2 | 91.108.4.0/22 3 | 91.108.8.0/22 4 | 91.108.16.0/22 5 | 91.108.12.0/22 6 | 149.154.160.0/20 7 | 91.105.192.0/23 8 | 91.108.20.0/22 9 | 185.76.151.0/24 10 | 2001:b28:f23d::/48 11 | 2001:b28:f23f::/48 12 | 2001:67c:4e8::/48 13 | 2001:b28:f23c::/48 14 | 2a0a:f280::/32 15 | -------------------------------------------------------------------------------- /CIDR.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - '91.108.56.0/22' 3 | - '91.108.4.0/22' 4 | - '91.108.8.0/22' 5 | - '91.108.16.0/22' 6 | - '91.108.12.0/22' 7 | - '149.154.160.0/20' 8 | - '91.105.192.0/23' 9 | - '91.108.20.0/22' 10 | - '185.76.151.0/24' 11 | - '2001:b28:f23d::/48' 12 | - '2001:b28:f23f::/48' 13 | - '2001:67c:4e8::/48' 14 | - '2001:b28:f23c::/48' 15 | - '2a0a:f280::/32' 16 | -------------------------------------------------------------------------------- /CIDR.conf: -------------------------------------------------------------------------------- 1 | IP-CIDR,91.108.56.0/22 2 | IP-CIDR,91.108.4.0/22 3 | IP-CIDR,91.108.8.0/22 4 | IP-CIDR,91.108.16.0/22 5 | IP-CIDR,91.108.12.0/22 6 | IP-CIDR,149.154.160.0/20 7 | IP-CIDR,91.105.192.0/23 8 | IP-CIDR,91.108.20.0/22 9 | IP-CIDR,185.76.151.0/24 10 | IP-CIDR,2001:b28:f23d::/48 11 | IP-CIDR,2001:b28:f23f::/48 12 | IP-CIDR,2001:67c:4e8::/48 13 | IP-CIDR,2001:b28:f23c::/48 14 | IP-CIDR,2a0a:f280::/32 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Telegram CIDR list 2 | 3 | [![telegram-cidr-list](https://img.shields.io/badge/LICENSE-BSD3%20Clause%20Liscense-blue?style=flat-square)](./LICENSE) 4 | [![telegram-cidr-list](https://img.shields.io/badge/GitHub-Telegram%20CIDR%20list-blueviolet?style=flat-square&logo=github)](https://github.com/fernvenue/telegram-cidr-list) 5 | [![telegram-cidr-list](https://img.shields.io/badge/GitLab-Telegram%20CIDR%20list-orange?style=flat-square&logo=gitlab)](https://gitlab.com/fernvenue/telegram-cidr-list) 6 | 7 | Multi-formatted Telegram CIDR list. 8 | 9 | Source data from [Telegram API](https://core.telegram.org/resources/cidr.txt). 10 | GitLab CI/CD checks for updates **ONCE A DAY**. 11 | Both [GitLab](https://gitlab.com/fernvenue/telegram-cidr-list) and [GitHub](https://github.com/fernvenue/telegram-cidr-list) mirror each other, PRs are welcome on either side. 12 | *The last check was conducted at 2025-12-24 00:12:42+00:00.* 13 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - update 3 | 4 | update: 5 | stage: update 6 | only: 7 | - schedules 8 | - web 9 | script: 10 | - git clone https://gitlab.com/$GIT_NAME/telegram-cidr-list.git --depth 1 && cd telegram-cidr-list && rm CIDR* 11 | - curl -s "https://core.telegram.org/resources/cidr.txt" | sed "s/[[:space:]]//g" > CIDR.txt 12 | - cp CIDR.txt CIDR.conf && sed -i "s|^|IP-CIDR,|g" CIDR.conf 13 | - cp CIDR.txt CIDR.yaml && sed -i -e "s|^| - '&|g" -e "s|$|&'|g" -e "1s|^|payload:\n|" CIDR.yaml 14 | - grep -v ":" CIDR.txt > CIDRv4.txt && grep -v ":" CIDR.conf > CIDRv4.conf 15 | - grep -v ":" CIDR.yaml | sed "1s|^|payload:\n|" > CIDRv4.yaml 16 | - grep ":" CIDR.txt > CIDRv6.txt && grep ":" CIDR.conf > CIDRv6.conf 17 | - grep ":" CIDR.yaml > CIDRv6.yaml 18 | - date=`date --rfc-3339 sec` 19 | - sed -i '$ d' README.md 20 | - echo "*The last check was conducted at $date.*" >> README.md 21 | - git config --global user.email $GIT_EMAIL 22 | - git config --global user.name $GIT_NAME 23 | - git init 24 | - git add . 25 | - git commit -m "$date" 26 | - git push https://gitlab-ci:$GIT_TOKEN@gitlab.com/$GIT_NAME/telegram-cidr-list.git master 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2021-2025, fernvenue 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | --------------------------------------------------------------------------------