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

    [Squid] Define several different acl

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 1.7k 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.
    • S
      som
      last edited by

      Hi,
      I use for first time pfSense 1.2.2 + Squid ( it works ) and now I must define different whitelist for each pc linked to pfSense.

      How can I define it trought pfsense's gui?

      Ex.
      2 pcs

      acl withelist1 dstdomain .pfsense.com
      acl withelist2 dstdomain .squid-cache.org.com
      acl pc1 src 192.168.1.33/255.255.255.0
      acl pc2 src 192.168.1.34/255.255.255.0
      http_access allow pc1 withelist1
      http_access allow pc2 withelist2
      http_access deny all
      

      Can i edit directly /usr/local/etc/squid/squid.conf  ?

      Thank you very much.

      **Software:**pfSense 1.2.2-RELEASE
      Hardware: Compaq PL800 6/350e (Pentium II  350 MHz, 128 MB RAM, 10 GB SCSI HDD)
      NICs: LAN: fxp0, WAN: ep1
      Packages: squid, squidGuard

      1 Reply Last reply Reply Quote 0
      • S
        som
        last edited by

        Ok.. i have readed this:

        In pfSense, squid.conf gets rewritten at startup from squid.inc.  If you manually edit squid.conf your changes will be lost when you reboot the box. 
        If you edit squid.inc, your changes will be saved/reloaded each time you boot.

        **Software:**pfSense 1.2.2-RELEASE
        Hardware: Compaq PL800 6/350e (Pentium II  350 MHz, 128 MB RAM, 10 GB SCSI HDD)
        NICs: LAN: fxp0, WAN: ep1
        Packages: squid, squidGuard

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