SSH tunneling on Routerboard

Hello,

I found the following article on the web for making an SSH connection through our corporate firewall:

"_I used EVE through a ssh tunnel while i was at uni and the network was being weird, and this is how i did it:

Step 1:

Install PuTTy. PuTTy is a ssh client for windows. It has proxy features built in, which make it very useful for using as a ssh tunnel utility. PuTTy can be found at: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Step 2:

Get yourself a shell account on a server somewhere. Ideally you’d run your own server to connect through like I do/did, but if that’s not a possibility, ask around. Maybe someone you know has a server you could use to proxy through? If all fails, search the internet.

Step 3:

Run PuTTy through the command line (cmd.exe - if you don’t know how to get to this, go to “Start” > “Run..” and type “cmd”, then hit enter. It should pop up.) If you place PuTTy.exe in your windows, system, or system32 folder, you need only to refer to putty by name as i do, otherwise you will need to navigate to the path you put it in, or run it directly from the path.

In this example, putty is located on my hard drive at d:/stuff/putty.exe, and I am using port 8080 as my local proxy port. My username on the server i am using is Callista, and the server address is omgrawr.com

in the windows command line I type the following:

D:/stuff/putty -D 8080 -l callista omgrawr.com

I am then promted for a password, put in yoru shell account password now. PuTTy is now acting as a ssh tunnel, and running a local socks5 proxy on your machine which you can connect through.

Step 4:

Get and run SocksCap from http://www.socks.nec.com. SocksCap allows you to run any program through it, and it works by “capturing” tcp packets, and routing them through the proxy defined in your preferences. You can use it by simply dragging the eve .exe onto it, or by setting up an eve profile.

Set up your sockscap to use the proxy port you ran PuTTy with, in my case 8080.

So my socks5 proxy server is: localhost
and the port is: 8080

Step 5:

Run EVE through SocksCap, and all should work! It did for me anyway! :smiley:_"

I installed OpenSSH on my home computer (under Windows), enabled “AllowTcpForwarding” option, forwarded port 443 to my comp and everything works like a charm.
However I noticed that there is an SSH server in Mikrotik, so I thought I will try to use that, because this way my computer would not have to be turned on. I disabled the port mapping, changed the port number of the ssh service, but unfortunately it seems this trick does not seems to work on my routerboard. I can connect with Putty, but when I start the application from SocksCap, the SSH connection seems to get hanging.
As I am not an expert in this, so I would like to ask if there is a way (with some configuration) to do this from my RouterBoard (type 150)?

Thanks for any answer!

Dear all,

I would like to login to Core Router from my laptop using internet. I want to create tunnel SSH or putty and access webfig to download file from it. Please help and let me know the complete procedure. I have windows 7. I have password for the core router but I do not know how to make the tunnel.

Thanks