Sunday, February 12, 2012

Set squid to be anonymous

This guide describes a step by step method to install a SQUID 3 server as an anonymous proxy. An anonymous proxy is a tool that comes to Internet activity undetectable. Internet access for the user, the protection of personal data, hiding the credentials of the source computer. Simply say to hide your IP address.

The post How to adopt a CentOS 5 operating system, but can be applied to CentOS 4, Fedora 5-9 with same steps andSQUID version 3. By default, Squid uses only the default IP address to communicate on the Internet, but use all available IP addresses on the server to act as an anonymous proxy, for example, if a user connects to IP1 of server then IP1 will act as a lawyer and before the same IP address, if a user connects to IP2 IP2, then act as a proxy and foward the same IP addressand so on, but will apply to user authentication based on NCSA to protect server against unauthorized use.

on you squid.conf add/modify as follows


forwarded_for off

request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all 

request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Type allow all request_header_access 
Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Accept allow all 

request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access Proxy-Connection allow all request_header_access User-Agent allow all request_header_access Cookie allow all request_header_access All deny all