Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have three computers in our scenario. Lets name them A, B and C. There is no direct connection between A and C, you must follow A-->B-->C. I want to send soap request A to C. There can be a ssh connection between A and B. But no ssh server at C and i cant touch that computer because of security reasons. I just want to send soap request to http://computerCurl:8860/webservice. How can i do this?

Thanks in advance.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Assuming that B can reach C on port 8860, and that A has no current listener on port 8860, try

A% ssh B -L 8860:C:8860

and once the tunnel is built, on A try "telnet localhost 8860", and check that you're connected to C's web service.

share|improve this answer
    
thanks, i will try that –  Mert Meral Jul 25 '11 at 11:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.