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

    Squid - whitelist

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 8.0k 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.
    • I
      icedutah666
      last edited by

      Just installed Squid package.  So how does the whitelist work.  It seems that all clients have full internet access anyways.  I see that the blacklist is working though.

      What I want to do is create a whitelist for about 10 computers to use.  All the other computers will have full access.  Can the squid package do this?  Or do I have to manually edit the squid.conf file even though it says "Do not edit manually"?

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

        1.  Fill in the whitelist as you would expect.  List out the sites you want to allow the computers access to. 
        2.  List out the computers by IP that are NOT subject to the whitelist only rules and put them in the 'Unrestricted IPs' box, one per line.  You might have to make one group static and the other on DHCP, or set reservations in DHCP.  Depends on your situation and number of hosts to deal with.
        3.  Place a single '.' (no quotes) in the blacklist.  This is the wild card character for squid.

        This is exactly how we have a production system running, it's amazing.

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