mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2026-05-05 21:51:11 +03:00
@@ -329,9 +329,11 @@ if __name__ == '__main__':
|
||||
# Discord (domains + UDP subnets on high ports)
|
||||
discord_subnets = lines_from_file('Subnets/IPv4/discord.lst')
|
||||
discord_domains = lines_from_file('Services/discord.lst')
|
||||
discord_cf_subnets = ["104.16.0.0/12"]
|
||||
srs_rule('discord', [
|
||||
{"domain_suffix": discord_domains},
|
||||
{"network": ["udp"], "ip_cidr": discord_subnets, "port_range": ["50000:65535"]},
|
||||
{"network": ["udp"], "ip_cidr": discord_cf_subnets, "port_range": ["19000:20000"]},
|
||||
])
|
||||
|
||||
# Mihomo main
|
||||
|
||||
Reference in New Issue
Block a user