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

    Squid can't connect some web sites

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 5 Posters 3.5k 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.
    • D
      dogz
      last edited by

      Dear all,

      I'm using 1.2-RC2(built on Fri Aug 17 17:46:06 EDT 2007), and I have Squid installed as a transparent proxy on my LAN.  All seemed to be working fine until my users told me there's the website that can't see.

      I check the access.log, I saw a lot of TCP_MISS, and I use ethereal to trace from my local computer to that web site (http://www.hsa.gov.sg/)
      It seems to lost some packets.

      The browser of the windows client only can see the title and the browser just keeps trying to connect the HTML page until it times-out
      I looked up the source of this website, it has not finished without this tag

      I tried to modify the /usr/local/etc/squid/squid.conf to directly connect out without caching, but it still didn't work out.
      I google it and found this page  http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592 ( Can I make Squid go direct for some sites?) and modified the setting then restarted. It still can't work it out.

      I found another article http://wiki.squid-cache.org/SquidFaq/SystemWeirdnesses#head-699d810035c099c8b4bff21e12bb365438a21027 ( Can't connect to some sites through Squid )

      But don't know how to change it in pfSense.

      Is there any way to solve it?
      Or only I have this problem ?

      Please advise me.

      Thank you in advance.

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

        By the way, I only know to change the setting of squid.conf, but when the pfSnese restarts, the settings are all gone, is there any way to keep the setting ?
        Please advise me.
        Thank you in advance.

        1 Reply Last reply Reply Quote 0
        • Cry HavokC
          Cry Havok
          last edited by

          Hand editing package config files isn't supported.

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

            May be change squid *.inc file - but this for you own use and not supporting.

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • M
              mhab12
              last edited by

              http://forum.pfsense.org/index.php/topic,5093.msg30882.html#msg30882

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

                @mhab12:

                http://forum.pfsense.org/index.php/topic,5093.msg30882.html#msg30882

                Thank you very much, will try it.

                1 Reply Last reply Reply Quote 0
                • M
                  mrsense
                  last edited by

                  check out the link below on changes I made to squid.inc to exclude certain source and destination traffic from being redirected to squid proxy:

                  http://forum.pfsense.org/index.php?PHPSESSID=e593be872957f9c76a28caf51ca8d8fc&topic=6439.0

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

                    Dear Mrsense,

                    Thank you so much, it works.

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