Wednesday, January 4, 2012

How to configure squid to forward all traffic to another server

How to configure squid to forward all traffic to another server

Add the below lines in the Squid.conf file
# assign internal network
 
acl our_networks src 10.0.0.0/8 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks
http_access allow intranet
##----------Added for Forwarding to Another Proxy ------------##
cache_peer 10.10.1.20 parent 4444 0 no-query default
never_direct allow our_networks

Here 10.10.1.20 is the another proxy server which is working on 4444 port and the proxy will forward all traffic except internal to it

1 comment:


  1. Great article!

    Only one problem, Free Blacklists Suck!

    There is a demand for a better blacklist. And with few alternatives available, we intend to fill that gap.


    Signed,

    Benjamin E. Nichols
    http://www.squidblacklist.org

    ReplyDelete