首页 > 解决方案 > 我应该在 Android FCM 的防火墙中将哪个域或 IP 列入白名单?

问题描述

再会,

对于 Android FCM 中的 MFP 推送通知,我很困惑我需要要求网络团队将哪个 IP 地址或域列入白名单。

我指的是以下2篇文章:

 1. https://mobilefirstplatform.ibmcloud.com/tutorials/ru/foundation/8.0/notifications/sending-notifications/#scope-mapping
 2. https://firebase.google.com/docs/cloud-messaging/concept-options

那么我要告诉网络团队,是否要求他们将 Google 的 ASN 15169 中列出的 IP 块中包含的所有 IP 地址列入白名单?

fcm.googleapis.com第一篇文章中提到的那个怎么样?是否也需要白名单?意味着网络团队需要将以下两件事列入白名单:

 1. `fcm.googleapis.com`, with port 443 (no need 5228, 5229 and 5230?)
 2. all IP addresses contained in the IP blocks listed in Google’s ASN of 15169 (with port 5228, 5229, 5230, no need 443?)

我对么?

实际上哪个网址是从 MFP 到 FCM 的?是fcm.googleapis.com?或者到一个域,它的 ip 会不断变化?

好心提醒。欢迎用外行术语解释,因为我是新手,对网络一无所知。

标签: androidnetworkingpush-notificationportfirewall

解决方案


fcm.googleapis.com 用于应用服务器(服务器端)向 FCM 推送/发送/触发通知,而白名单 IP 用于移动设备(客户端)。


推荐阅读