Google Drive Firewall and Proxy Settings List of Hosts and Ports

4 Min Read

Google Drive Firewall and Proxy Settings List of Hosts and Ports for Network Administrators.

From the official Google Support page:

This article is intended for network administrators.

For users on your network to access Google Drive and Google Docs editors, your firewall rules should connect to the following hosts and ports. Otherwise, users may be blocked or denied access from 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 Backup and Sync)
  • takeout.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

How it’s look in 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";
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version