LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 01-23-2002, 06:43 PM   #1
barbanero
Member
 
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 03:09 AM.
 
Old 01-24-2002, 08:51 AM   #2
raz
Member
 
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..

/Raz

Last edited by raz; 01-24-2002 at 12:01 PM.
 
Old 01-24-2002, 11:53 AM   #3
barbanero
Member
 
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!
 
  


Reply


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 01:45 AM
X tunneling with SSH phekno Linux - Networking 3 05-31-2005 11:43 AM
SSH tunneling X AzZuM Linux - Security 3 11-27-2004 02:59 AM
SSH Tunneling danny_beta_read Linux - Networking 0 06-10-2004 03:43 PM
Tunneling through SSH rech Slackware 1 11-28-2003 09:21 PM


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

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