|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
tunnelling through 2 servers
by kevinj
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message hi guys. i'm unable to access my home server directly from my work station due to a firewall. i do have access to a unix server, and from there i can ssh into my server from command line (ssh myhomeserver.com) but if its possible i'd like to use putty. i want to be able to tunnel my workstation traffic to my home server, through the unix server, but haven't figured out how.
i've tried opening a putty session to the unix server then opening a second putty session using the first as a proxy but it failed. i've been able to use putty as a proxy for other applications but it hasn't worked for me on this. when i launch the second putty session i get an error "server unexpectedly closed network connection" i get the same error from another computer. any tutorials for how to daisy chain ssh connections? kevin |
|
|
Re: tunnelling through 2 servers
by bforbes
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message I have achieved something that sounds similar to what you want. I have a web server at my workplace with a site I'm working on. I can secure shell in through the firewall easily enough to edit the site, but I also need to view the page in a browser, and the web server is not yet internet-facing. So I used ssh to get port 80 traffic through the encrypted tunnel.
Here are the hosts: home: my home computer firewall: the internet-facing firewall computer server: the web-server ssh -L 2345:server:80 bforbes@firewall Now in the browser, I go to the url "localhost:2345", and these packets get passed through the encrypted tunnel to port 80 on the web-server, problem solved. Hopefully this helps. |
|
|
Re: tunnelling through 2 servers
by Jason Muskat, GCFA, GCUX, de VE3TSJ
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hello,
One can also setup an IP to be a type of gateway such as 127.0.0.2 (or even the servers real IP). Then all traffic to that IP will be forwarded within the tunnel to the server. PS: Some older versions Microsoft RDP clients will not connect to any 172.0.0.0/8 address. Regards, -- Jason Muskat | GCFA, GCUX - de VE3TSJ ____________________________ TechDude e. Jason@... m. 416 .414 .9934 http://TechDude.Ca/ > From: bforbes <b.forbes2@...> > Date: Fri, 15 Dec 2006 18:35:23 -0800 (PST) > To: <secureshell@...> > Subject: Re: tunnelling through 2 servers > Resent-From: <secureshell-return-9162@...> > Resent-Date: Wed, 20 Dec 2006 09:28:44 -0700 (MST) > > > I have achieved something that sounds similar to what you want. I have a web > server at my workplace with a site I'm working on. I can secure shell in > through the firewall easily enough to edit the site, but I also need to view > the page in a browser, and the web server is not yet internet-facing. So I > used ssh to get port 80 traffic through the encrypted tunnel. > > Here are the hosts: > home: my home computer > firewall: the internet-facing firewall computer > server: the web-server > > ssh -L 2345:server:80 bforbes@firewall > > Now in the browser, I go to the url "localhost:2345", and these packets get > passed through the encrypted tunnel to port 80 on the web-server, problem > solved. > > Hopefully this helps. > > -- > View this message in context: > http://www.nabble.com/tunnelling-through-2-servers-tf2829801.html#a7902748 > Sent from the SSH (Secure Shell) mailing list archive at Nabble.com. > |
|
|
RE: tunnelling through 2 servers
by MARTIN Benoni
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi,
I've done this quite a lot of times, with puTTY on my laptop and openssh on 2 Linux boxes. I never had trouble when connecting from my local laptop (puTTY) to the first box (openssh), then (within this ssh sessions) when needed, starting another ssh session to the second FC box: [Win box/puTTY] ------ssh1------ [Linux box 1/openssh] ------ssh2------ [Linux box 2/openssh] Never need a proxy or whatever ... Why this does not fit you ? PS: For me, puTTY is a ssh client, not an ssh proxy :) -----Message d'origine----- De : listbounce@... [mailto:listbounce@...] De la part de kevinj Envoyé : vendredi 15 décembre 2006 23:25 À : secureshell@... Objet : tunnelling through 2 servers hi guys. i'm unable to access my home server directly from my work station due to a firewall. i do have access to a unix server, and from there i can ssh into my server from command line (ssh myhomeserver.com) but if its possible i'd like to use putty. i want to be able to tunnel my workstation traffic to my home server, through the unix server, but haven't figured out how. i've tried opening a putty session to the unix server then opening a second putty session using the first as a proxy but it failed. i've been able to use putty as a proxy for other applications but it hasn't worked for me on this. when i launch the second putty session i get an error "server unexpectedly closed network connection" i get the same error from another computer. any tutorials for how to daisy chain ssh connections? kevin -- View this message in context: http://www.nabble.com/tunnelling-through-2-servers-tf2829801.html#a7900369 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com. |
| Free embeddable forum powered by Nabble | Forum Help |