I know I can use ssh tunneling to create a "proxy" on my machine so that I can make all the traffic generated locally go through a remote server. Like this:
$ ssh -D 12345 myuser@remote_ssh_server
But what about if I need to create a "proxy" on the remote server, so that all the traffic that I send it will go through my local machine? Is this possible with ssh?
Essentially, I want to use my local internet connection with some specific commands to run remotely, as the server does not have direct access to the internet.