logo       

Re: tunnelling through 2 servers: msg#00031

network.openssh.general

Subject: Re: tunnelling through 2 servers


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.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise