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

    SquidGurad service stop issue

    Scheduled Pinned Locked Moved Cache/Proxy
    27 Posts 3 Posters 4.2k 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.
    • KOMK Offline
      KOM
      last edited by

      When was the last time you rebooted the box?  I have seen numerous cases where squid/squidGuard is misbehaving and a reboot fixes it right up.  Which version of pfSense are you using?  If it's the 2.2 branch then I can't help you since I suspect that one or more squid/squidGuard packages are broken.

      1 Reply Last reply Reply Quote 0
      • S Offline
        sjain
        last edited by

        today when I have open the ticket on this form and I am using Pfsense version 2.2.

        So please can  you tell me which version are the stable in PfSense.

        Thanks,
        Sjain

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

          I have squid3 3.1.20 pkg 2.1.2 and squidGuard-squid3 1.4_4 pkg v.1.9.6 working like a charm under pfSense 2.1.5.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sjain
            last edited by

            It is possible to install squid3 3.1.20 pkg 2.1.2 and squidGuard-squid3 1.4_4 pkg v.1.9.6 in pfsense 2.2

            Thanks,
            Sjain

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

              Nope.  The packages are specific to the base version.

              1 Reply Last reply Reply Quote 0
              • S Offline
                sjain
                last edited by

                Thanks I have move in pfsense 2.1.5 version and it is working fine

                appreciate of your help  :)

                I have two issue

                1. I am not able to block the facebook already enable the socialnet in blocking categories and user able to access the facebook
                (Screenshot Attached- File name Blocking_Categoried_1 & Blocking_Categoried_2)

                So please help me how i can block the facebook and other https websites.

                2. second issue related Blocking message. I want the customized the blocking message. 
                (Screenshot attached- File Name blocking_Messages_Screen_Shot)

                So please help me how i can customized the blocking message.

                Thanks,
                Sjain

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sjain
                  last edited by

                  Thanks I have move in pfsense 2.1.5 version and it is working fine

                  appreciate of your help  :)

                  I have two issue

                  1. I am not able to block the facebook already enable the socialnet in blocking categories and user able to access the facebook
                  (Screenshot Attached- File name Blocking_Categoried_1 & Blocking_Categoried_2)

                  So please help me how i can block the facebook and other https websites.

                  2. second issue related Blocking message. I want the customized the blocking message. 
                  (Screenshot attached- File Name blocking_Messages_Screen_Shot)

                  So please help me how i can customized the blocking message.

                  Thanks,
                  Sjain

                  Blocking_Categoried_1.JPG
                  Blocking_Categoried_1.JPG_thumb
                  Blocking_Categoried_2.JPG
                  Blocking_Categoried_2.JPG_thumb
                  blocking_Messages_Screen_Shot.JPG
                  blocking_Messages_Screen_Shot.JPG_thumb

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

                    1.  Blocking of Facebook works for me using the Socialnet category.  Are you running in explicit mode or transparent mode?

                    2.  Read this -> https://forum.pfsense.org/index.php?topic=93097.0

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sjain
                      last edited by

                      1. I am running Squid as a Transparent mode (Configuration Screen shot attached)

                      2. How i can access the  sgerror.php and pfsense directory /usr/local/www/, Please guide me….

                      3. One more query that I am giving the internet access on user mobile & laptop also, so please guide how i can configure the mac address filter in pfsense. ( I don't want configure the mac filter in wifi Access point).

                      Thanks,
                      Sjain

                      Squid_Transparent_Mode_1.JPG
                      Squid_Transparent_Mode_1.JPG_thumb
                      Squid_Transparent_Mode_2.JPG
                      Squid_Transparent_Mode_2.JPG_thumb
                      Squid_Transparent_Mode_3.JPG
                      Squid_Transparent_Mode_3.JPG_thumb

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

                        2. How i can access the  sgerror.php and pfsense directory /usr/local/www/, Please guide me

                        Either Enable Secure Shell in System - Advanced - Admin Access - Secure Shell and then use SCP to copy files over or install the File Manager package and use that to copy files to & from.

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          killmasta93
                          last edited by

                          facebook will be only block http not https unless you run explicit mode which then you need to configure WPAD.

                          Tutorials:

                          https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                            facebook will be only block http not https unless you run explicit mode which then you need to configure WPAD.

                            You can block HTTPS in Transparent mode, but you need to install a pfSense server certificate on every client that will use the proxy, which is a massive pain in the ass.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sjain
                              last edited by

                              Hi Kom,

                              As per your steps I am trying to access the scp but it is giving the error (screen shot attached).

                              Kindly suggest..

                              Thanks,
                              Sjain

                              scp_error.JPG
                              scp_error.JPG_thumb

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

                                Assuming WinSCP, you have the File Protocol set to SCP and not SFTP?

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sjain
                                  last edited by

                                  I have choose scp.(screen shot attached).

                                  Thanks,
                                  Sjain

                                  screenshot_scp.JPG_thumb
                                  screenshot_scp.JPG

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

                                    Sorry, I forgot that the pfSense startup menu confuses WinSCP login.

                                    Just install the File Manager package and do it that way with a web interface.

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sjain
                                      last edited by

                                      As per your steps I have installed the file Manager in pfsense and you have provide the link for the changing the block message https://forum.pfsense.org/index.php?topic=93097.0

                                      but I have tried to find out the file sgerror.php and pfsense directory in /usr/local/www, i can't find out

                                      (Screen Shot attached)

                                      So please can you tell me the current location of pfsense directory and file sgerror.php in pfsense 2.1.5

                                      Thanks,
                                      Sjain

                                      screenshot_1.JPG
                                      screenshot_1.JPG_thumb
                                      screenshot_2.JPG
                                      screenshot_2.JPG_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sjain
                                        last edited by

                                        Hi KOM,

                                        I am using the pfsense with squid & squidguard in my company to give the access internet in users mobiles.

                                        It is not possible to install the pfSense server certificate in all users mobiles so please can you give other option to block the https websites.

                                        Thanks,
                                        Sjain

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

                                          You were in the right place, but you need to use your mouse wheel or the scroll button to go down the list past the folders to the files.  It's in alphabetical order, with folders listed first and then files, sort of like how every computer in the world shows folders and files.  This is basic computer stuff.  If you don't know your way around a file system then I'm not sure how you think you're going to configure a routing firewall with proxy support.

                                          If you want to avoid installing certs, use squid in explicit mode and then configure WPAD to allow your clients to auto-detect the proxy.

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            killmasta93
                                            last edited by

                                            You can block HTTPS in Transparent mode, but you need to install a pfSense server certificate on every client that will use the proxy, which is a massive pain in the ass.

                                            haha i love that "pain in the ass" so true  ;D

                                            Also @sjain WPAD will work but there's some androids that wont work. As chris4916 pointed out to me that you would need Drony to install on the androids, which may not work in your situation. Tell you truth if you don't mind just showing a blank error page on block sites use pfBlockerNG it gets the job done maybe not as neat but usually people enter www.facebook.com it comes up at HTTP (which squidGuard will show the nice blocked page) but if they Google search Facebook it comes up at HTTPS pfBlockerNG will not let it connect.

                                            Tutorials:

                                            https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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