?
Solved

How to create ssh tunnel at home on DD-WRT firmware on router with putty

Posted on 2011-04-22
7
Medium Priority
?
941 Views
Last Modified: 2012-05-11
I am a quite new. May you give more details or reference.
0
Comment
Question by:turbot_yu
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Brian Gee
ID: 35448811
Do you already have the DD-WRT firmware-flashed router ready to configure?
0
 
LVL 23

Accepted Solution

by:
Brian Gee earned 2000 total points
ID: 35450438
Based on your earlier request, here are some things to be addressed...

Determine if the default port 22 is open for SSH connections within your organization, and if not, identify a suitable port for SSH tunneling.

If you do not have a static IP at home, register an account at DynDNS.org so that you can easily access your home system DNS using your dynamic IP. Input your account information in the DD-WRT UI (user interface) in Setup tab > DDNS.

For simplicity sake, we'll get you going with password authentication (public key authentication is advisable from a security perspective, and it's something you should implement once you understand and get everything going successfully). From the DD-WRT UI, go to Services tab > Services sub-tab > access the Secure Shell section. Enable SSHd, SSH TCP Forwarding and Password Login. Input your Port number here as well based on your findings into open ports in your organization. Be sure to Apply Settings for any changes you make to your DD-WRT settings.

Download PuTTY from the official source (type in putty from a Google search and typically the first result is the the PuTTY telnet/ssh client site).

Launch and configure PuTTY from your work computer. Click the Session link in the left-side navigation pane, and then type in your static IP (if you have one) or your DynDNS account info (for example, myhomerouter.dyndns.org) in the Host Name field. Make sure the Connection Type radio button is selected to SSH, which will default the Port number to 22. Change this to an available, open port in your organization, if necessary. Save this session (Save button) so that you don't have to keep inputting this information every time you initiate an SSH session.

To initiate the SSH tunnel from here, click the Open button and then you should see a command line window start up with a Login As prompt (typically, your login using DD-WRT will be: root). After entering the login name, you will be prompted for a password. Once successfully connected, you will see a DD-WRT ASCII art logo appear in this window. Then you will know that your SSH session has been successfully established.
0
 

Author Comment

by:turbot_yu
ID: 35452960
Thanks, I do some explore, but the router still not ready yet, may you recommend one.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 23

Expert Comment

by:Brian Gee
ID: 35453548
You can always go with the tried and true Linksys WRT54GL which is one of the most popular, but it is a bit dated being only wireless-G and no-Gigabit switch. What were your needs for such a device? Did you need wireless-N, gigabit switch, etc.?
0
 

Author Comment

by:turbot_yu
ID: 35454970
Just personal interest. If have more functions, it may be a bonus.

I will try to get WRT54GL, but just worried it is out of stock since it start on 2006.

If so, is there any new models, or just search for the ones with SSH tunnel.

Thanks.
0
 

Author Comment

by:turbot_yu
ID: 35454973
Only the most usual ports are open, or others may be shut down. Will it be affected, thanks.
0
 
LVL 23

Assisted Solution

by:Brian Gee
Brian Gee earned 2000 total points
ID: 35454992
I can't vouch for many other consumer grade routers (other than the Linksys WRT54GL) but there are others out there that support DD-WRT firmware which are reviewed rather well. If you do research on other options be sure to reference the supported device list:

http://www.dd-wrt.com/wiki/index.php/Supported_Devices

The WRT54GL is very much available now. Check Newegg and Amazon for reference.

If default SSH port 22 is closed at your org, then you can change the listening port in the DD-WRT UI accordingly.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question