Merge pull request #366 from itdoginfo/discord

fix: include UDP port range 19000-20000 in Discord nft rule
This commit is contained in:
Kirill Sobakin
2026-05-14 10:29:52 +03:00
committed by GitHub

View File

@@ -1316,7 +1316,7 @@ import_community_service_subnet_list_handler() {
URL=$SUBNETS_DISCORD
nft_create_ipv4_set "$NFT_TABLE_NAME" "$NFT_DISCORD_SET_NAME"
nft add rule inet "$NFT_TABLE_NAME" mangle iifname "@$NFT_INTERFACE_SET_NAME" ip daddr \
"@$NFT_DISCORD_SET_NAME" udp dport '{ 50000-65535 }' meta mark set "$NFT_FAKEIP_MARK" counter
"@$NFT_DISCORD_SET_NAME" udp dport '{ 19000-20000, 50000-65535 }' meta mark set "$NFT_FAKEIP_MARK" counter
;;
"roblox")
URL=$SUBNETS_ROBLOX