How to port forward https traffic via ssh and/or remote desktop to through several networks and PCs?

Posted by donttellya on Server Fault See other posts from Server Fault or by donttellya
Published on 2011-11-13T14:15:25Z Indexed on 2011/11/13 17:54 UTC
Read the original article Hit count: 254

Filed under:
|
|
|
|

I have the following environment:

  • In company X I develop a application on a pc A in network A with ip address 192.168.100.50 which has to do an https request to an http server located in the intranet of company Y
  • In company X is another pc B in network B with ip address 192.168.200.100
  • pc B (of company X) can access the intranet from company Y via ssh tunnel (putty)
  • pc A (of company X) can ping pc B (of company X) note: pc A can also do a remote desktop connection to pc B)
  • pc B can ping the http sever
  • pc A can not ping the http server

    1. How can the https request from pc A of company X get to the http server of company Y?
    2. On which pc must be putty configured?
    3. And which settings for host, port forwarding etc. has to be done in putty?

So finally the https request should go from PC A -> PC B -> Http Server in company Y.

© Server Fault or respective owner

Related posts about ssh

Related posts about port