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

    SquiGuard allow just the facebook portal of the company?

    Scheduled Pinned Locked Moved Cache/Proxy
    9 Posts 2 Posters 941 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.
    • perikoP
      periko
      last edited by

      Hi guys.

      Just wondering, if is possible to allow a user access a specific site inside facebook and block everything else?

      Allow to login but just manage the company site like:

      https://www.facebook.com/CompanySite/

      Can squid+SquiGuard can do this?

      Thanks!!!

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Yes.

        1 Reply Last reply Reply Quote 0
        • perikoP
          periko
          last edited by

          Hi KOM.

          Can u please provide a details what I have to do?

          I will appreciated, thanks.

          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
          www.bajaopensolutions.com
          https://www.facebook.com/BajaOpenSolutions
          Quieres aprender PfSense, visita mi canal de youtube:
          https://www.youtube.com/c/PedroMorenoBOS

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            Services - Squidguard - Target Categories.  Create a category called Whitelist for example.  Add your URL to the URL list box.  Then edit either the Common ACL or Group ACL (depending if you want this to affect everyone or just specific users) Target Rules to allow the Whitelist category.

            1 Reply Last reply Reply Quote 0
            • perikoP
              periko
              last edited by

              I had add my Target with my URL:

              www.facebook.com/MyCompany/

              I had whitelist in my ACL Group.

              But my ACL SocialNet is deny, them SG block my Target.

              www.facebook.com:443	Request(RH/blk_BL_socialnet/-) equezada CONNECT REDIRECT
              

              SG config:

               pass FB whitelist !in-addr !blacklist !blk_BL_anonvpn !blk_BL_porn !blk_BL_socialnet blk_BL_searchengines all
              

              Any tip to share?

              Thanks.

              Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
              www.bajaopensolutions.com
              https://www.facebook.com/BajaOpenSolutions
              Quieres aprender PfSense, visita mi canal de youtube:
              https://www.youtube.com/c/PedroMorenoBOS

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                I think you have to set your whitelist category to whitelist instead of allow under Target Rules to ignore other blocks.

                1 Reply Last reply Reply Quote 0
                • perikoP
                  periko
                  last edited by

                  Not working, I had different combination, allow, whitelist, but SG is not accepting my url:

                  www.facebook.com/my-company/
                  

                  Squid cache log say:

                  2017/11/30 15:12:50 kid1| ERROR: URL-rewrite produces invalid request: GET ERR HTTP/1.1
                  

                  Looks like this is the reason SG jump to the block domains socialnet.

                  SG is not accepting my URL.

                  I will continue, if someone has something to add welcome, thanks KOM.

                  Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                  www.bajaopensolutions.com
                  https://www.facebook.com/BajaOpenSolutions
                  Quieres aprender PfSense, visita mi canal de youtube:
                  https://www.youtube.com/c/PedroMorenoBOS

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    I don't know if it makes a difference, but the examples do not have the trailing slash.

                    Try www.facebook.com/my-company instead of www.facebook.com/my-company/.

                    1 Reply Last reply Reply Quote 0
                    • perikoP
                      periko
                      last edited by

                      I had try both, looks like pfsense+squid+squidguard have something wrong with this part. ???

                      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                      www.bajaopensolutions.com
                      https://www.facebook.com/BajaOpenSolutions
                      Quieres aprender PfSense, visita mi canal de youtube:
                      https://www.youtube.com/c/PedroMorenoBOS

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