Setting up a SOCKS proxy over SSH on Linux


ssh -N -D [PORT] [USER]@[SERVER_IP]

Sources