How to make a SSH Tunnel on Coyote 2.x

Notes

SSH Tunneling is a very secure and fast way to get external access to any machine in your lan without have to configure forwards or open any port at the firewall.

What do you will need ?

- A WORKING Coyote Linux 2.x machine
- A tunneling enabled SSH daemon (Download then: sshd and ssh-keygen)
- 100K free on Coyote disk (See this page if you need more room.)
- A good SSH client. I recomend PuTTY

How to:

Copy the two binaries to coyote machine, replace then at /usr/sbin directory and rebuild the root package.

Use example:

You want to make a telnet access to 2 computers on your lan (ServerA = 192.168.0.100 and ServerB = 192.168.0.200)
Telnet is a very insecure protocol and you donīt want to forward and open the port 23 on your firewall
ServerA and ServerB has telnet running already at port 23 of each one.
You replaced sshd and ssh-keygen at coyote machine.
You use putty to access your Coyote Linux at domain coyote.mysite.com or ip 200.200.200.200

1 - Run putty
2 - Go to Connection --> SSH
3 - Mark the option Enable compression (this will make your connection faster)
4 - Choose SSH protocol version 2
5 - Go to Connection --> SSH --> Tunnels
6 - At Source Port put 2001, at Destination put 192.168.0.100:22, click Add.
7 - At Source Port put 2002, at Destination put 192.168.0.101:22, click Add.
8 - Go to Session. Choose protocol SSH. The Port field will show 22.
9 - If you want to save thoose configurations select the session Default Settings and click Save
10 - Put your Coyote domain or ip (coyote.mysite.com or 200.200.200.200) at Host field and click Open
11 - Make your login at coyote. While putty is running the 2 tunnels will stay open as ports 2001 and 2002 in your local computer
12 - Minimine putty.
12 - Open your telnet favorite client. To access ServerA use localhost and port 2001. To access ServerB use localhost and port 2002.
13 - You can use 127.0.0.1 to point you machine itself instead localhost.
14 - After finish using the tunnels, logout Coyote and close putty.

To more information:

http://borosenclave.com/putty-ssh/
http://freesco.no-ip.org/VNC/

Credits, Licenses, Sources and Documentation

Coyote Linux - Vortech Consulting - http://www.coyotelinux.com
SSH binaries compiled by Marcio Lopes
PuTTY - Simon Tatham - http://www.chiark.greenend.org.uk/~sgtatham/putty/

If this page helps you to get what you want, let me know, send me an e-mail:
Claudio Roberto Cussuol