Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-10-2009, 02:29 PM   #16
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,064
Blog Entries: 1

Original Poster
Rep: Reputation: 90

Oh, man.... :-)

It's not that difficult. Look.... Using the 3 computers of your example:

Machine 1 is connected to the internet through a nated connection.

Machine 2 is connected to the internet through another nated connection. No relation between them. They can't 'see' each other.

Machine 2 sets a R tunnel so that its port 22 appears as port X on machine 3

Machine 1 sets a L tunnel so that machine 3's port X appears as its port Y, in other words Machine 1's port 22 appears as machine 2's port Y.

Users connects (on machine 1) its SSH client to localhost port Y (effectively using service SSH from machine 2).

That's it.

Read the article with attention. You'll see it's not that tricky.


nat, ssh

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
How connect easily to other LAN PCs via hostname? Haz2a Linux - Networking 7 11-12-2007 04:41 PM
Cannot connect to router from boxes bluesman2333 Linux - Networking 7 06-03-2005 09:57 PM
connect 2 Linux boxes via crossover cable forbuto Linux - Networking 1 10-21-2004 06:38 PM
connect 2 linux boxes horoscope_man Linux - Networking 8 03-16-2004 11:08 PM
Networking problems. Can't connect to any other boxes. cirofren Linux - Networking 2 10-19-2003 06:34 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration