How can I reverse SHH tunnel all ports on a remote server so any requests made by the remote server go through the client?
E.g.
client ssh into server
server requests google.com
request goes from the server to the client over ssh then out to google.com
google.com responds to client which is forward to server over ssh tunnel
I want to do this for all ports, and both internet and LAN connections. It doesn't have to be permanent, just while the ssh connection is open.