Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-23-2002, 05:43 PM   #1
Registered: Jan 2002
Location: Bucharest
Distribution: RedHat, AIX
Posts: 39

Rep: Reputation: 15
Angry 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!

Last edited by barbanero; 01-24-2002 at 02:09 AM.
Old 01-24-2002, 07:51 AM   #2
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
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..


Last edited by raz; 01-24-2002 at 11:01 AM.
Old 01-24-2002, 10:53 AM   #3
Registered: Jan 2002
Location: Bucharest
Distribution: RedHat, AIX
Posts: 39

Original Poster
Rep: Reputation: 15
Question 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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tunneling thru ssh c9876543210 Linux - Networking 1 07-21-2005 12:45 AM
X tunneling with SSH phekno Linux - Networking 3 05-31-2005 10:43 AM
SSH tunneling X AzZuM Linux - Security 3 11-27-2004 01:59 AM
SSH Tunneling danny_beta_read Linux - Networking 0 06-10-2004 02:43 PM
Tunneling through SSH rech Slackware 1 11-28-2003 08:21 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration