Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-05-2007, 04:15 PM   #1
Registered: Jan 2007
Posts: 30

Rep: Reputation: 15
setting up an ssh soxy or local ssh tunnel from within an ssh soxy

I did a quick search in this forum, but did not find the appropriate information. The Subject is rather confusing so allow me to expand upon it.

I'm on a computer outside a corporate network, maybe at a coffee shop or something. Let's call it homePC. I'm running Windows and I want to connect to a linux box via web browser on the corporate intranet. The problem is this linux box (let's call it corporatePC3) is three times removed from homePC. In other words, I must ssh into corporatePC1. Then ssh from corporatePC1 to corporatePC2. Finally, I can talk to corporatePC3. In essence, corporatePC1 CANNOT see corporate PC3 -- but corporatePC2 can. Remember, homePC is Windows and corporatePC1, corporatePC2, and corporatePC3 are all linux boxes.

Here's what I'm doing so far:

I'm sshing into corporate PC1 from homePC via Putty. Once I log in, I change the tunnel settings to dynamic on source port 5000 via putty configuration. Then I open up IE and change the proxy settings for SOCKS4/5 to and port 5000. Now I can hit certain boxes via port 80 from corporatePC1.

But I want to talk to corporatePC3. So, from within the putty session (homePC to corporatePC1), I typed in ssh -D 5000 admin@corporatePC2, I typed in my password, and I'm logged on. I goto the IE web browser, but I cannot access corporatePC3. If anyone can help me, I'd REALLY appreciate it.

Thank you very much for your time and generosity.

Take care.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Trouble setting up SSH tunnel tom-ubuntu Linux - Networking 3 02-24-2007 09:14 PM
Copying files to local computer whilst in ssh tunnel Maverick1182 Linux - Newbie 4 10-07-2006 02:29 PM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 01:34 PM
setting up ssh tunnel for vnc jr0 Linux - Networking 3 10-22-2005 12:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration