You don't even need to run a proxy on the linode host: just use ssh's SOCKS proxy (the -D flag).
https://mikeash.com/ssh_socks.html
Though this might require some more work to avoid DNS MITM, because it only tunnels TCP.
https://mikeash.com/ssh_socks.html
Though this might require some more work to avoid DNS MITM, because it only tunnels TCP.