Here's how you can make a proxy server with squid3. If you do this on a VPS with a service provider that allows it, this will allow you to browse the web from your home computer as if the requests were coming from your web server. This is useful for a lot of different purposes.
Start with the default config file /etc/squid3/squid.conf
. We are only going to add some extra lines to change some things from their default. Add them to the config file in the appropriate section where each option is discussed in comments/used.
acl myip src 12.34.56.78 http_access allow myip maximum_object_size 0 KB minimum_object_size 0 KB access_log none cache_log /dev/null request_header_access Via deny all request_header_access X-Forwarded-For deny all request_header_access Cache-Control deny all dns_v4_first on forwarded_for transparent
Once you're done, restart squid and you're ready to go (set proxy options in Firefox or whatever).
service squid3 restart
A few notes: