Setting up the tunnel
To create the tunnel as in our example above:
On the home computer (server): | |
sshd | (start the ssh server) |
hts --forward-port localhost:22 80 | (start the HTTP Tunnel server) |
On the office computer (client): | |
htc --forward-port 900 --proxy HttpProxy:3128 HomeComputer:80 | (start the HTTP Tunnel client) |
ssh -L 800:pop3server:113 sshlogin@localhost -p 900 | (start the ssh client) |
Then read your email with your mail program at localhost:800 |