Previously I've used an SSH tunnel:
ssh -D 1234 user@remoteHost
As a system wide proxy in OS X by going to System Preferences -> Network -> Advanced -> Proxies -> Tick SOCKS Proxy and enter localhost 1234 -> Ok -> Apply
But it seems this no-longer works for me, the terminal appears to be completely ignoring the network config to use the proxy but other programs are using it correctly.
Can anyone offer any suggestions or a solution?