LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-10-2009, 03:29 PM   #16
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83

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.
 
  


Reply

Tags
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 05:41 PM
Cannot connect to router from boxes bluesman2333 Linux - Networking 7 06-03-2005 10:57 PM
connect 2 Linux boxes via crossover cable forbuto Linux - Networking 1 10-21-2004 07:38 PM
connect 2 linux boxes horoscope_man Linux - Networking 8 03-17-2004 12:08 AM
Networking problems. Can't connect to any other boxes. cirofren Linux - Networking 2 10-19-2003 07:34 AM


All times are GMT -5. The time now is 04:33 AM.

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