LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2013, 01:13 PM   #1
selvavinayak88
LQ Newbie
 
Registered: Nov 2012
Location: chennai
Posts: 18

Rep: Reputation: Disabled
Connect linux local machine from outside...


Hi,

I need to connect my linux local machine from outside thro' linux shell

Eg:
*) my local machine ip address as 10.0.1.2
*) our server ip address as 203.123.124.*
--> problem is if, i want to connect my local machine i need to login main server and then login to my local machine using ssh ..

anybody have solution for my above issue....

Thanks,
Selvavinayakam.na
 
Old 05-30-2013, 02:27 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,860

Rep: Reputation: 238Reputation: 238Reputation: 238
http://linux.die.net/man/1/ssh
https://en.wikipedia.org/wiki/Networ...ss_translation

If 10.0.1.2 is sitting behind 203.123.124.*, then 230.123.124.* will have to be doing NAT to 10.0.1.2
You'll need to forward a port from 10.0.1.2 to 230.123.124.*

Look at the info for your linux flavor. Examples.
http://www.linuxhomenetworking.com/w...nux_Networking
http://www.linuxhomenetworking.com/w..._Simple_Router
 
  


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
Local machine trying to enable service:FaxServerServiceGroup...Could not connect to r mavijitr Linux - Newbie 0 10-11-2012 02:36 AM
Dovecot imap will not connect from remote machine but will connect local charlesnorman Linux - Server 2 05-15-2008 03:23 PM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
How can I connect to my local machine using FTP at the command line? imagirlgeek Linux - Newbie 12 08-26-2004 02:57 PM
"document contains no data" error when i try to connect to SWAT on local machine squeaky-steve Linux - Networking 2 12-03-2003 08:12 AM


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