Just a quick tip, if you want to use a VPS as a proxy server through SSH then use this command (if your computer runs Linux)
ssh -D 12345 [email protected]
Replace 12345 with the port you want to use.
Then in Firefox, go to Preferences and add
localhost as a Socks 5 proxy and the port
I always test it first by going to Google and searching "What's my IP" to make sure it shows as the VPS's IP.
And you're done.