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

    Manually edit squid.conf

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 4 Posters 58.3k 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.
    • M
      mhab12
      last edited by

      I know how to manually access/save the /usr/local/etc/squid/squid.conf file, however on reboot it gets overwritten by the configuration I have in the GUI.  Probably a great feature, however I need to modify the https line as mentioned in the post below.  Is there a master squid.conf file located elsewhere that I can change?

      http://forum.pfsense.org/index.php/topic,2681.0.html

      1 Reply Last reply Reply Quote 0
      • G
        gbelanger
        last edited by

        There is a master file. Last time I checked, parts of the code generation were also hardcoded within different  functions. I used to fix squid myself, but it gets tricky when you update the package. I recommend you get in touch with the package manager instead, if you want to bring a bug to his attention.

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

          edit manually this file /usr/local/pkg/squid.inc

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

            edit manually this file /usr/local/pkg/squid.inc

            It doesn't appear that this is what I'm looking for…

            I see file_put_contents(SQUID_CONFBASE . '/squid.conf', $conf) ---- Is there a way that I can edit SQUID_CONFBASE or is that different entirely?

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

              Set him as '/squid.conf.gui' for example, but you must manually configure squid.conf file

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

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