LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   tunneling with ssh (https://www.linuxquestions.org/questions/linux-security-4/tunneling-with-ssh-12523/)

barbanero 01-23-2002 05:43 PM

tunneling with ssh
 
Hello everyone who read this message!

I'm using RedHat 7.2
I want to create a tunnel from my computer wich has a static IP give by a server with DHCP(the server is a proxy) to a computer with real address IP(routable).

Then I want to connect from that real IP address to my computer using that tunnel
bypassing the proxy.


I remind you that I have a static IP.

Thank you for your time!

raz 01-24-2002 07:51 AM

Re: tunneling with ssh
 
You can't have static address given to you by a server, that would make it dynamic.

I'm guessing your "static address" is actually an internal ip address i.e 192.168.x.x ; 172.16.x.x 10.x.x.x and your system talks to the internet through a proxy server.

if this is the case then you'll need a route that allows the correct protocol to be transverse to the server in question on the correct port, then the proxy or firewall that forwarded your request, will need know the original senders addresses from it's NAT table in order to forward the response back.

This question is unanswerable without knowing the proxy software, access lists, routing tables and the physical network design/layout..

/Raz

barbanero 01-24-2002 10:53 AM

ssh tunneling
 
Thanks for Raz!

The problem is that I want to use only the ssh command with -R or -L options like ssh -R[-L] port:host:hostport

The tunnell is initiated from my computer which is behind a firewall to another computer 'A' from WAN.

And from the 'A' I want to connect back to my computer using the tunnel allready created from mycomputer to 'A'.

Thank you!


All times are GMT -5. The time now is 03:51 PM.