Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Block google drive App desktop

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nizo67
      last edited by

      Hello !

      I want to block google drive desktop (Upload & Download).

      I could block the drive.google.com domain with squid Server but it is still open to connect to google drive through desktop app.

      Any help will be appreciated.

      Regards,

      S N 2 Replies Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @nizo67
        last edited by

        If you just want to prevent connecting to drive.google.com one option is to add a host override in DNS Resolver to point it to 127.0.0.1 or some other IP. Though you might also have to block DNS over HTTP to get browsers to use your DNS.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        N 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Why do you want to block it is perhaps a better question?

          The only real way to block that entirely is prevent people installing it rather than trying to block access at the firewall.

          Steve

          N 1 Reply Last reply Reply Quote 0
          • N
            nizo67 @stephenw10
            last edited by nizo67

            @stephenw10
            these are the requirements of customer in his cloud and it should be achieved through firewall.

            1 Reply Last reply Reply Quote 0
            • N
              nizo67 @SteveITS
              last edited by

              @steveits
              Thanks. Do you have a link for how to do this? More explanation please.

              P S 2 Replies Last reply Reply Quote 0
              • P
                Patch @nizo67
                last edited by Patch

                @nizo67
                Block all of Google via it's ASN in pfBlockerNG
                Then white list the parts of google you actually want access to

                Unfortunately to white list the part you want to allow access to, pfsense needs a "Alias" with history sufficiently long to cover cached version of DNS results in clients.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nizo67 @Patch
                  last edited by nizo67

                  @patch
                  I am using pfSense VM Version 2.6.0-RELEASE

                  1 Reply Last reply Reply Quote 0
                  • N
                    nizo67 @nizo67
                    last edited by

                    I could now to block the google drive desktop to connect to Internet.

                    Through squid block list --- added
                    accounts.google.com
                    drive.google.com
                    docs.google.com

                    So the user can not sing in and the client can not be used, even if the user installed it.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @nizo67
                      last edited by

                      @nizo67 said in Block google drive App desktop:

                      @steveits
                      Thanks. Do you have a link for how to do this? More explanation please.

                      https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-host-overrides.html

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote ๐Ÿ‘ helpful posts!

                      N 1 Reply Last reply Reply Quote 1
                      • N
                        nizo67 @SteveITS
                        last edited by

                        @steveits
                        Thanks a lot :)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.