Navigation

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

    Squid Not Allowing Any Connections

    Cache/Proxy
    3
    10
    3560
    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.
    • Q
      qwaven last edited by

      Hello there,

      Wondering if anyone can help figure out why my Squid 3 Dev install is not allowing any connections?

      I'm running 2.1.5-RELEASE w/ the latest package installed.

      Tried:

      1. Making sure my network is under the ACLs allowed subnets box
      2. Tried checking the box to allow users on interface (my pc is on the same network)
      3. Also tried transparent mode
      4. Under the authentication tab I have it set to NONE

      Always get Proxy Server Is refusing connections

      I do notice when I ssh in I see this:

      
      netstat -an | grep 3128
      tcp4       0      0 192.168.1.1.3128       *.*                    CLOSED
      
      

      Tried changing the port and still says closed as well.

      Any help would be great!

      Cheers!

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

        @qwaven:

        Hello there,

        Wondering if anyone can help figure out why my Squid 3 Dev install is not allowing any connections?

        I'm running 2.1.5-RELEASE w/ the latest package installed.

        Tried:

        1. Making sure my network is under the ACLs allowed subnets box
        2. Tried checking the box to allow users on interface (my pc is on the same network)
        3. Also tried transparent mode
        4. Under the authentication tab I have it set to NONE

        Always get Proxy Server Is refusing connections

        I do notice when I ssh in I see this:

        
        netstat -an | grep 3128
        tcp4       0      0 192.168.1.1.3128       *.*                    CLOSED
        
        

        Tried changing the port and still says closed as well.

        Any help would be great!

        Cheers!

        Why do not you try the last version pfsense with squid 3.4?  ;D

        1 Reply Last reply Reply Quote 0
        • Q
          qwaven last edited by

          Thanks for your reply.

          Not sure that will solve my issue. The upgrade will copy my configurations.

          Plus everytime I upgrade I seem to end up in recovery mode (least I have the last two upgrades I did) having to restore the system. (not sure why) I don't have time to do that right now. ;)

          Any troubleshooting ideas to solve this as it is? :)

          Cheers!

          1 Reply Last reply Reply Quote 0
          • P
            pfsense man last edited by

            first view /var/log/squid/cache.log
            in shell type
            killall -9 squid
            usr/local/etc/rc.d/squid onestart

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

              @pfsense:

              first view /var/log/squid/cache.log
              in shell type
              killall -9 squid
              usr/local/etc/rc.d/squid onestart

              thanks for respect, may help for him

              1 Reply Last reply Reply Quote 0
              • Q
                qwaven last edited by

                @pfsense:

                first view /var/log/squid/cache.log
                in shell type
                killall -9 squid
                usr/local/etc/rc.d/squid onestart

                Thanks for the info. For some reason I didnt check that log, only the other one. Anyway I see this:

                
                2015/07/29 20:58:26 kid1| Starting Squid Cache version 3.3.10 for i386-portbld-freebsd8.3...
                2015/07/29 20:58:26 kid1|  parse error while reading template file: /usr/pbi/squid-i386/etc/squid/errors/en/error-details.txt
                2015/07/29 20:58:26 kid1| Unable to load default error language files. Reset to backups.
                2015/07/29 20:58:26 kid1|  parse error while reading template file: /usr/pbi/squid-i386/etc/squid/errors/templates/error-details.txt
                2015/07/29 20:58:26 kid1| WARNING: failed to find or read error text file error-details.txt
                2015/07/29 20:58:26 kid1| sendto FD 26: (1) Operation not permitted
                2015/07/29 20:58:26 kid1| ipcCreate: CHILD: hello write test failed
                
                

                Not sure what I'm supposed to do about that or if it even matters.

                The usr local command says command not found. Tried squid onestart which didnt give me any errors.

                Any thoughts?

                1 Reply Last reply Reply Quote 0
                • P
                  pfsense man last edited by

                  Hi
                  Try the following command:
                  squid -z

                  1 Reply Last reply Reply Quote 0
                  • Q
                    qwaven last edited by

                    @pfsense:

                    Hi
                    Try the following command:
                    squid -z

                    Thanks for the info. I tried this and it appeared to do "creating missing swap directories"

                    tried the proxy and still getting the same authorization error.

                    Cheers!

                    1 Reply Last reply Reply Quote 0
                    • Q
                      qwaven last edited by

                      Hey there,

                      So I bit the bullet and upgraded to 2.2.4-RELEASE. Had to fight with it a bit but it seems to be working now.

                      So…

                      after installing Squid3. Turning on the proxy seems to be working with or without transparent mode on. :)

                      However when I try and enable HTTPS/SSL filtering anything SSL no longer will work.

                      I see:

                      
                      error:invalid-request
                      
                      

                      through-out the logs. Not sure what to do about this?

                      Thoughts?

                      Thanks!

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

                        @qwaven:

                        Hey there,

                        So I bit the bullet and upgraded to 2.2.4-RELEASE. Had to fight with it a bit but it seems to be working now.

                        So…

                        after installing Squid3. Turning on the proxy seems to be working with or without transparent mode on. :)

                        However when I try and enable HTTPS/SSL filtering anything SSL no longer will work.

                        I see:

                        
                        error:invalid-request
                        
                        

                        through-out the logs. Not sure what to do about this?

                        Thoughts?

                        Thanks!

                        maybe need import cert to your browser?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Products

                        • Platform Overview
                        • TNSR
                        • pfSense
                        • Appliances

                        Services

                        • Training
                        • Professional Services

                        Support

                        • Subscription Plans
                        • Contact Support
                        • Product Lifecycle
                        • Documentation

                        News

                        • Media Coverage
                        • Press
                        • Events

                        Resources

                        • Blog
                        • FAQ
                        • Find a Partner
                        • Resource Library
                        • Security Information

                        Company

                        • About Us
                        • Careers
                        • Partners
                        • Contact Us
                        • Legal
                        Our Mission

                        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                        Subscribe to our Newsletter

                        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                        © 2021 Rubicon Communications, LLC | Privacy Policy