Google驱动器防火墙和代理设置列表的主机和端口供网络管理员.
来自官员 Google支持页面:
本文适用于网络管理员.
用于网络上的用户访问Google驱动器和Google文档编辑器, 您的防火墙规则应连接到以下主机和端口. 否则, 用户可能会被阻止或拒绝从这些服务中访问.
对于以下主机, [n] 是指任何十进制数字,* 表示任何不包含段的字符串.
- www.google.com:443/HTTPS
- accounts.google.com:443/HTTPS
- googledrive.com:443/HTTPS
- drive.google.com:443/HTTPS
- *.drive.google.com:443/HTTPS
- docs.google.com:443/HTTPS
- *.docs.google.com:443/HTTPS
- *.c.docs.google.com:443/HTTPS
- sheets.google.com:443/HTTPS
- slide.google.com:443/HTTPS
- talk.google.com:5222/xmpp (仅需要备份和同步)
- tubtout.google.com:443/HTTPS
- gg.google.com:443/HTTPS
- script.google.com:443/HTTPS
- ssl.google-analytics.com:443/HTTPS
- video.google.com:443/HTTPS
- s.ytimg.com:443/HTTPS
- apis.google.com:443/HTTPS
- *.clients[n].Google.com:443/HTTPS
- *.googleapis.com:443/HTTPS
- *.GoogleUserContent.com:443/HTTPS
- *.gstatic.com:443/HTTPS
- LH[n].Google.com:443/HTTPS
- [n].client-channel.google.com:443/HTTPS
- clients[n].Google.com:443/HTTPS
- GV1.com:443/HTTPS
外观如何 wpad.dat
if (shExpMatch(host, "www.google.com")) return "DIRECT";
if (shExpMatch(host, "accounts.google.com")) return "DIRECT";
if (shExpMatch(host, "googledrive.com")) return "DIRECT";
if (shExpMatch(host, "drive.google.com")) return "DIRECT";
if (shExpMatch(url, "*.drive.google.com")) return "DIRECT";
if (shExpMatch(host, "docs.google.com")) return "DIRECT";
if (shExpMatch(url, "*.docs.google.com*")) return "DIRECT";
if (shExpMatch(url, "*.c.docs.google.com*")) return "DIRECT";
if (shExpMatch(host, "sheets.google.com")) return "DIRECT";
if (shExpMatch(host, "slides.google.com")) return "DIRECT";
if (shExpMatch(host, "talk.google.com")) return "DIRECT";
if (shExpMatch(host, "takeout.google.com")) return "DIRECT";
if (shExpMatch(host, "gg.google.com")) return "DIRECT";
if (shExpMatch(host, "script.google.com")) return "DIRECT";
if (shExpMatch(host, "ssl.google-analytics.com")) return "DIRECT";
if (shExpMatch(host, "video.google.com")) return "DIRECT";
if (shExpMatch(host, "s.ytimg.com")) return "DIRECT";
if (shExpMatch(url, "apis.google.com*")) return "DIRECT";
if (shExpMatch(url, "*.clients[N].google.com*")) return "DIRECT";
if (shExpMatch(url, "*.googleapis.com*")) return "DIRECT";
if (shExpMatch(url, "*.googleusercontent.com*")) return "DIRECT";
if (shExpMatch(url, "*.gstatic.com*")) return "DIRECT";
if (shExpMatch(host, "lh[N].google.com")) return "DIRECT";
if (shExpMatch(host, "[N].client-channel.google.com")) return "DIRECT";
if (shExpMatch(host, "clients[N].google.com")) return "DIRECT";
if (shExpMatch(host, "mtalk.google.com")) return "DIRECT";
if (shExpMatch(host, "play.google.com")) return "DIRECT";