Setting up a SOCKS proxy over SSH on Linux
ssh -N -D [PORT] [USER]@[SERVER_IP]
Sources
"How to Set up SSH SOCKS Tunnel for Private Browsing"