We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48dab9f commit a0a873aCopy full SHA for a0a873a
.github/workflows/CIDR
@@ -14,11 +14,11 @@ jobs:
14
15
- name: Fetch Telegram CIDR List
16
run: |
17
- curl -s "https://core.telegram.org/resources/cidr.txt" | sed "s/[[:space:]]//g" > Telegram-CIDR.txt
18
- # Additional processing steps (e.g., converting to .rsc format) go here
19
-
+ curl -s "https://core.telegram.org/resources/cidr.txt" | sed "s/[[:space:]]//g" > Telegram-CIDR.rsc
+ # Additional processing steps (Converting to .rsc format)
+ sed -nEi 's/(([0-9]+\.){3}[0-9]+) */add list=Telegram address=\1/p' Telegram-CIDR.rsc
20
+ sed -i '1 i\\/ip firewall address-list' Telegram-CIDR.rsc
21
# Add more steps to process the data and commit changes
- # ...
22
23
- name: Commit and Push
24
0 commit comments