Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Squidguard redirect

    Scheduled Pinned Locked Moved pfSense Packages
    14 Posts 5 Posters 7.1k 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.
    • J
      Juve
      last edited by

      Hi,

      Would it be possible to change the way we configure the default redirect in squidguard package ? I mean, it would be so nice to be able to enter the redirect string instead of using the damned sgerror.php (In other words, two cases, first you use sgerror , second you enter it by your own).

      For example, squidguard works perfectly with that type of redirect:
      redirect 302:http://www.redirectsite.com

      but the squidguard package generates that type of redirect (wich doesn't work for me by the way):
      redirect https://firewallIP/sgerror.php?url=http://www.redirectsite.com&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u

      I have looked into the squidguard_configurator.inc file and I see were you generate the redirect path. Do you think adding such a feature would take a lot of time ?

      Thanks a lot ;-)

      1 Reply Last reply
      Reply Quote 0
      • D
        dvserg
        last edited by

        This possible as option, but one problem can happen: if squidGuard redirection URL not accessible - then SG miss(skip) this and may allow blocked content
        Just so I introduced sgerror.php file
        I add this option in near time(on next work-week).
        –-
        Also i want return to tests 127.0.0.1:80 access in transparent squid

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply
        Reply Quote 0
        • J
          Juve
          last edited by

          Thanks a lot.

          I will reinstall the package next week ;-)

          1 Reply Last reply
          Reply Quote 0
          • D
            dvserg
            last edited by

            @Juve:

            Thanks a lot.

            I will reinstall the package next week ;-)

            I posting message about :)

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply
            Reply Quote 0
            • D
              dvserg
              last edited by

              Upated - check this  :)

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply
              Reply Quote 0
              • J
                Juve
                last edited by

                Roger that.

                1 Reply Last reply
                Reply Quote 0
                • D
                  dvserg
                  last edited by

                  @Juve:

                  Roger that.

                  I did it not so?

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply
                  Reply Quote 0
                  • A
                    acidrop
                    last edited by

                    well done! now redirect work even from https..

                    thnx!

                    1 Reply Last reply
                    Reply Quote 0
                    • D
                      DarknessBBB
                      last edited by

                      Hello everybody! Where can I find this updated package?
                      I see only 1.2.0_1  version in the package list  :'(

                      1 Reply Last reply
                      Reply Quote 0
                      • D
                        dvserg
                        last edited by

                        @DarknessBBB:

                        Hello everybody! Where can I find this updated package?
                        I see only 1.2.0_1  version in the package list  :'(

                        This version of squidGuard
                        Reinstall.

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply
                        Reply Quote 0
                        • J
                          Juve
                          last edited by

                          I've just tested it and It works perfectly.

                          Nice job, thanks.

                          I noticed during reinstall some errors at the end of the install process at the botom of the pakage page (some fopen() errors). Is this normal ?

                          ;-)

                          1 Reply Last reply
                          Reply Quote 0
                          • D
                            dvserg
                            last edited by

                            @Juve:

                            I noticed during reinstall some errors at the end of the install process at the botom of the pakage page (some fopen() errors). Is this normal ?

                            ;-)

                            No - post this message to my PM please

                            PS Sorry for all latest bugs - i will full test of code in next week.

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

                            1 Reply Last reply
                            Reply Quote 0
                            • B
                              bryanr
                              last edited by

                              I am an obvious newbie, but I just don't understand how to download the newest updates for your packages?  I am using squidguard 1.2.0_1 and it doesn't update.  I am getting errors everytime I start and stop the service and once it is started I am not able to stop it.  I can't seem to use ssh to remote into the box either.  many problems….. using 1.2 rc4.

                              1 Reply Last reply
                              Reply Quote 0
                              • D
                                dvserg
                                last edited by

                                You can reinstall SG xml
                                SG version showed for port only
                                XML (gui) updates possible looking in
                                http://cvstrac.pfsense.com/dirview?d=tools/packages/squidGuard&

                                SquidGuardDoc EN  RU Tutorial
                                Localization ru_PFSense

                                1 Reply Last reply
                                Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post
                                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                Privacy Policy · Cookie Policy