Setup a Private Anonymous Proxy server Squid
Update System
# apt-get update # apt-get upgrade
Installng Squid3 pakage
# apt-get install squid3 squid3-common
Edit Squid configuration file:
# vi /etc/squid3/squid.conf
To allow the access to Squid proxy only from your IP, find and uncomment next line and put your IP or your IP range:
acl localnet src Your_IP
Add also the lines:
http_access allow localnet http_access allow localhost
You can change standard proxy port 3128
http_port 3128
For HTTP anonymous browsing add next instructions to end of /etc/squid3/squid.conf file:
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
And finally restart squid:
# service squid3 restart
Do not forget configure your browser proxy settings for using your new proxy server.
Use the IP and 3128 port of your proxy.