When I SSH tunnel into my VPS, I do so from port 22
to port 22
.
How could I also tunnel from port 2222
to port 80
in the same connection in Putty?
In OpenSSH for example, I would do:
ssh user@1.1.1.1 -L 22:localhost:22 -L 2222:localhost:80 -i ~/.ssh/key
But this time of course, I need a similar way with Putty.
Update 1 - Update for Rubio:
I entered 2222 (source) and 80 (destination) and saved the sessions data. I quited Putty and saw the data wasn't saved, so I try to add this directly from that section but then got an error.