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

    Need advice on setting up Squid

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 1.1k 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.
    • B
      Balanga
      last edited by

      I'm running pfSense on a box with two disks. pfSense is installed on a 150GB SSD disk which has around 140GB free.

      The other disk is a 1TB disk formatted as ZFS. I'm not sure what is on it. How can I tell?

      I'd like to install Squid but am not sure how much space should I allocate for it, and whether the SSD should be used for the cache.

      Any advice?

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

        I'm not sure what is on it. How can I tell?

        Mount it and look at it?

        https://www.freebsd.org/doc/handbook/mount-unmount.html

        I'd like to install Squid but am not sure how much space should I allocate for it, and whether the SSD should be used for the cache.

        The hit rate with squid isn't great and you will likely not save very much bandwidth by caching web objects.  Your mileage may vary, of course.  However, if you want to play around with it then I would create a 40-50 GB cache on the SSD since you have the space and you don't need to worry about modifying fstab to mount the second disk.

        In order to get the most out of squid, you will need to deep-dive squid dynamic caching concepts and squid directives such as refresh_pattern and store_id.

        http://www.squid-cache.org/

        1 Reply Last reply Reply Quote 0
        • B
          Balanga
          last edited by

          Thanks for your advice… I've now installed squid but can't work out how to configure it... Can I do this from the GUI or do I need to login to a command prompt?

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

            From the GUI.  Look under Services for Squid Proxy Server.

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