User Tools

Site Tools


apache:forward_proxy

This is an old revision of the document!


squid drop in replacement) on port 3128. Proved to be faster than squid 3.5 on the same hardware.

Make sure you have a local DNS caching resolver, such as unbound or PowerDNS Recursor.

Listen 3128
<VirtualHost *:3128>
        ProxyRequests On
        ProxyDomain "."
        CustomLog "/var/log/httpd/proxy_access_log" common
        ErrorLog "/var/log/httpd/proxy_error_log"
        <IfModule mod_reqtimeout.c>
                RequestReadTimeout header=0 body=0
        </IfModule>
        <Proxy "*">
                Require ip 192.168.0.0/16
                Require ip 127.0.0.0/8
                Require ip 10.0.0.0/8
                Require ip 172.16.0.0/12
        </Proxy>
</VirtualHost>
apache/forward_proxy.1463837337.txt.gz · Last modified: 2016/05/21 16:28 by cbredi