Using Putty Tunnels to access ports of cs.umb.edu systems

The only ports open for direct access on users1.cs.umb.edu and users2.cs.umb.edu are SSH’s port 22 and default HTTP port 80. Luckily we can use use SSH’s port 22 to tunnel  through to other ports, such as port 11600 for eoneil’s tomcat and other ports for student tomcats, and certain ports for JDBC access to Oracle on dbs2.cs.umb.edu and MySQL on sf08.cs.umb.edu.

Use Putty to connect to linux1.cs.umb.edu (also named users.cs.umb.edu, users1.cs.umb.edu and vm71.cs.umb.edu) on port 22, or linux2/users2:

Go to Connection -> SSH -> Tunnels, and add the following:

Source Port: 1521               --for JDBC for Oracle

Destination: dbs2.cs.umb.edu:1521

Source Port: 3306              --for JDBC for mysql

Destination: sf08.cs.umb.edu:3306

Source Port: 11600          -- for eoneil’s tomcat  (not shown below)

Destination: users2.cs.umb.edu:11600

 

Once you create these, save the session, by selecting Session again at the top of the Category panel and clicking Save, and then connect with your login to linux1.

Testing:

Use a browser to connect to localhost:11600 and you should see the tomcat picture.