[Squid] Define several different acl



  • 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.



  • 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.


Log in to reply