ssh -D installs a local SOCKS proxy which terminates sockets on the remote ssh endpoint.
e.g. ssh -D 9000 $remote_host
Set your local SOCKS proxy to 127.0.0.1:9000. Any local clients that are SOCKS-capable will have their outbound connections established from $remote_host.
No squid required.
Use http://www.whatismyip.com/ before and after to check you are using the new IP address