Entries Tagged 'Squid' ↓

Reverse Proxying Using Squid 3.0

For some reason, I need to protect and also publish the internal DMZ webserver. I thought reverse proxying will fit in this circumstance.
So, after upgrading my squid into version 3.x, I modified squid.conf.
After some searching and testing, main configuration of reverse proxying will only need :
#———————————————–
acl all src 0.0.0.0/0.0.0.0
visible_hostname localhost
icp_access allow all
http_port 80 transparent
# hook the real webserver on port 80
cache_peer xx2.1xx.xx0.2xx parent 80 0 no-query originserver weight=1
http_access allow all
#———————————————–

The rest is just regular squid typical configuration..
In my chase, it’s worked :D

Don’t cache this, squid !

I’m using squid. And for some specific reason, I don’t want squid to cache specific servers. So I put these on my squid.conf :


acl NOT-TO-CACHE dstdomain "/etc/squid/list/not-to-cache.conf"
no_cache deny NOT-TO-CACHE

and put this domains in /etc/squid/list/not-to-cache.conf

planet.terasi.net
blogsome.com
wordpress.com
blogger.com
dagdigdug.com
opensuse-id.org
technorati.com

Technorati Profile
Continue reading →