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

    How to use squid.conf in pfsense

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 4.9k 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.
    • F Offline
      farrukhndm
      last edited by

      i am running squid 1.6 on my centos .now i want to import squid.conf configration in pfsense squid server .how to import  All ACLS,Dstdomain allow rules, dstdomain blcok rules,Multidedia streaming rules and so on…

      Can i use my old squid.conf from Centos to  pfsense squid ??? if yes how i use and reload my squid services.

      thanks and waiting.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        No, you cannot.  All squid.conf settings are pulled from the config.xml which means you need to insert all the squid configurations into the webGUI.  Simply importing an existing squid.conf means it will be overwritten and cannot be backed up with the normal pfSense config backup.

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

          Take a look at the file /usr/local/pkg/squid.inc  I'm sure you'll have to make changes to some of the paths but it should be possible.  pfSense rebuilds the Squid.conf file at each boot from the squid.inc file.  Good luck.

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