Notes on installing pfSense behind a firewall…
Leave a commentApril 24, 2015 by aubreykloppers
ACL’s on Squid 2.7:
Create a file called /root/ip-list.txt. Add your IP’s line-by-line and add the following to your squid “Custom Options”:
acl IP-LIST src “/root/ip-list.txt”;log_access deny IP-LIST
Check your configuration for errors:
squid -k parse
Testing squid:
squidclient -h {ip address of proxy} -p {port number} http://{address}
This will give you an entry in your squid log like this:
1429614270.526 5 {from address} TAG_NONE/500 3035 GET http://{address}/ - HIER_NONE/- text/html
Testing ACL’s on Squid3:
- DISABLE “Enable loggin” option.
- Set variables:
acl IP-LIST src “/root/ip-list.txt”
access_log /var/squid/log/access.log !IP-LIST
Advertisements