I'm trying to encrypt my web traffic using SSH dynamic port forwarding in case I happen to be in multiple places such as internet cafes, hotels and so on.
On my laptop I installed an SSH server and executed:
ssh -C -D 1080 myuser@localost
I then configure my browser to use a socks proxy on localhost:1080
I tried to browse a few sites to see what was sent, but I guess I'm doing clearly something wrong because upon a tcpdump:
sudo tcpdump -A -i eth0 dst www.example.com
I see everything in cleartext, even some fake password I tried on forms.
I thought I was setting up and encrypted tunnel, impossible to snoop.
What am I doing wrong?
Thanks for your time.