create an ssh tunnel and use it as SOCKS proxy.

Why?

well, i fyou don't know why, then don't worry about it. but if you're trying to get to your office server from home, or vice versa, and stinky nasty firewalls are holding you back, then this might help. Or if you're surfing for porn in, say, china and chinese authorities have blocked your porn. you get hte idea.

You need:

set up ssh tunnel

From your local mac's terminal: ssh -T2 -D 8080 user@remote_server

set up your proxy settings

References

http://www.pantz.org/software/ssh/sshsocksproxy.html