Posts

Google Drive firewall and proxy settings

In order for users on your network to access Google Drive on the web, the Google Drive sync client, and Google Docs editors, your firewall rules should connect to the following hosts and ports. Otherwise, users may be blocked or denied access these services.

For the following hosts, [N] means any single decimal digit and * means any string not containing a period.

  • 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
  • slides.google.com:443/HTTPS
  • talk.google.com:5222/XMPP (needed only for the Drive sync client)
  • 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
  • *.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

Important notes

  • The IP addresses that various domain names resolve to don’t necessarily fall within any given address range.
  • Other Google properties may use the IP addresses that Drive uses.Google.com
  • Techniques that Drive uses to connect to Google servers depend on the browser, browser version, network conditions, etc.
  • Even if you don’t currently observe activity at the addresses listed above in a particular Google product there could be future activity.
  • The Drive sync client supports all unauthenticated proxies that are configured by the operating system.
  • The sync client supports the only DNS-based distribution of PAC files. PAC distribution over DHCP is not supported.

Reference by Google.com