fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

Using SSH to Securely Tunnel a TCP Application

Written by Mike Solinap
Published on June 28, 2012

Often times, I’m caught in a situation where an application or service is not directly accessible to me from the network I’m currently on.  For instance, if I’m at a customer site, I may need VNC or RDP access to a collocated server.  Sure, I could open up port 5901 to the Internet on my firewall, but that would be ill advised, as VNC sends passwords in clear text.  Even still, the site I’m at may have port 5901 outbound blocked.

Similarly, there have been situations where customers have two or more separate networks, joined only by certain multi-homed machines, or privileged machines in terms of router access lists.  How do you then go about accessing a web app, for instance, via those machines?

Take another situation — you’re at the airport looking for public WiFi.  You join a wireless network which you believe is legitimate.  Can you be certain?  When privacy is of concern, I immediately open up an SSH tunnel to my personal Linux machine where a squid proxy is running, and I tunnel all web traffic through that.

Not only does SSH provide encryption, but it can also provide compression.  So applications such as VNC and HTTP further benefit from this, especially when you’re on a WAN link with limited bandwidth.

The list of potential situations where an SSH tunnel would be useful is endless, continue reading to become an SSH tunnel guru in no time.  If you have any unique uses for SSH tunneling, I’d like to hear them!

Michael Solinap
Sr. Systems Integrator
SPK & Associates

Latest White Papers

Costs and Benefits of Moving a .NET Application to the Cloud

Costs and Benefits of Moving a .NET Application to the Cloud

Do you know the full cost and benefits of moving your .NET application to the cloud? In this guide we’ll cover everything you need to know about your .NET cloud migration. Is this guide for you? If you’re faced with outdated legacy systems and the pressures of digital...

Related Resources

XDR and SIEM: Protect Against The Latest Cybersecurity Threats 2023

XDR and SIEM: Protect Against The Latest Cybersecurity Threats 2023

Protecting your business against the latest cybersecurity threats isn't easy, is it? Today, cyber threats are becoming more sophisticated, and they're targeting a broadening field of potential victims. Consequently, businesses are feeling the pinch with increasing...

Planning for Windows Server 2012/R2 End of Support

Planning for Windows Server 2012/R2 End of Support

Windows Server 2012/R2 is well integrated into business environments globally. However, as announced by Microsoft, its end of extended support is approaching in October 2023. So, if it’s not doing so already, it’s time for this change to start looming large in your...

Protecting Sensitive Data in Highly Regulated Industries

Protecting Sensitive Data in Highly Regulated Industries

How do you keep sensitive data safe in highly regulated industries? Is it better to stick with your tried and tested on-prem solution? Or, is it time to believe in the cloud’s promises of better security, scalability, and innovation? Your organization is at a critical...