I've just used this guide to create a SSH tunnel to bypass my corporate proxy. I didn't use the usual "Putty", but in "MobaXterm" (a program similar to putty that also offers unix tools) I wrote, to create the tunnel:
ssh -D 7070 -p 22 email@example.com sleep 9999
Then I went to my browser (Firefox) and I told it to use SOCKS on the localhost port 7070.
All is good and it's working, but I have no clue on how the underling technology actually works. I mean, on a general level I know how the process works, but I would like to go a little deeper than that.
What I mean is, currently we can compare my knowledge to the one I have of cars: I know there is an engine, 4 wheels, etc, but I have no clue how the engine actually uses gasoline to move the car. The 2 answers I received so far only explain to me what I already know. I have a CCNP, work in a datacenter as network engineer, know how to program, know fair enough of the Linux environment. What I would like to have from you is a thorough (but less than a 20-pages-long-RFC) answer.
The answer should include:
- A description of the main options tunnel-wise. A good example is the image in this answer: Understanding SSH tunnels
- Which type of tunnel is used when and for what (normal tunnels, reverse tunnels)
- A wireshark capture of the before/after the tunnel
- An image explaining the process (I am a visual guy after all)
I promise that I will give 100 points as soon as I can put a bounty on the question. I really need a good answer on this. (In case I forget about the bounty, please email me: ilcon7e[at]gmail[dot]com
Improved the question.