Some providers give thier list of both ipv4 and ipv6 in a single file but hestia force me to select one of them, I want to add this list: https://core.telegram.org/resources/cidr.txt
Is there something I can do here or a workaround?
Some providers give thier list of both ipv4 and ipv6 in a single file but hestia force me to select one of them, I want to add this list: https://core.telegram.org/resources/cidr.txt
Is there something I can do here or a workaround?
Actually, firewall needs to have that as separate files (afaik). You can copy those ipv4 in a different ipv4 file and create one for ipv4, and do the same for ipv6.
get-telegram-ipv4.sh
#!/bin/bash
curl -s https://core.telegram.org/resources/cidr.txt | grep -v ':'
get-telegram-ipv6.sh
#!/bin/bash
curl -s https://core.telegram.org/resources/cidr.txt | grep '::'
I used two scripts like this