May9

Putty tunnels

While being involved in one of Impessa projects - WorldGaming, I have got some tips from our Candian partners regarding creating a tunnels using putty

The Goal was to access some services lets say (Sun Application Server - port 8080 and MySQL - port 3306 ) on one of the servers which was part of a local network. I was granted access to one of the machines - 10.1.1.16 (real IPs differ of course) having external IP 83.215.12.20, Sun Application Server was installed on 10.1.1.11:8080 (no external access), MySQL on 10.1.1.12:3306 (no external access as well)

I am attaching some drawing for explanation purposes, showing the idea:

Tunneling idea

The project was about webservices, thats why I wanted to access WSDL file published on SunApplicationServer 10.1.1.11:8080 using my local browser

To achieve the goal we have taken following steps:

  1. created putty session pointing to 83.215.12.20
  2. went to Connection => SSH => Tunnels section and created two tunnels - mapping local port 9090 to 10.1.1.11:8080 and 3308 to 10.1.1.12:3306
  3. we opened the session, and logged in to 83.215.12.20 (10.1.1.16)
  4. finally we opened firefox typing http://localhost:9090/ ….. ?WSDL

Screenshot of putty configuration below:

Putty tuneling configuration

This way we managed to access service published on server plugged to local network.

Connecting to putty creates tunnels in smart, transparent way, such that All We had to do was to open the browser and use the service.

Thanks guys for all Your help.


No Responses to “Putty tunnels”

You can leave a response, or trackback from your own site.


Leave a Reply

About

Impessa LTD provides IT solutions tailored to business needs. Impessa specializes in providing web and software development services including solution integration and offshore IT outsourcing across the globe.