LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-09-2010, 03:35 AM   #1
copy_right
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Log from INTERNET to CENTOS 5.4 by SSH?


Hi,anybody help me
My Centos ip WAN is dynamic ip.
My Centos ip LAN is 10.0.0.10 (static ip)
So anybody can help if i go out , use my laptop to log My CENTOS by SSH.
SSH server, client, firewall on CENTOS configure correct

Last edited by copy_right; 11-09-2010 at 03:49 AM.
 
Old 11-09-2010, 03:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well from what you've said, all we can say is that you need to ssh to that dynamic IP address, assuming that that IP is indeed internet routable. You've not said if you can or can't do this already, what errors you've had etc... You've indicated that you believe all firewalls are set up right, which is confusing as I would assume you are asking what "right" is in the first place.
 
Old 11-09-2010, 03:55 AM   #3
copy_right
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
Well from what you've said, all we can say is that you need to ssh to that dynamic IP address, assuming that that IP is indeed internet routable. You've not said if you can or can't do this already, what errors you've had etc... You've indicated that you believe all firewalls are set up right, which is confusing as I would assume you are asking what "right" is in the first place.
Thank for your annser!
I decribe more detail
My Centos' static ip : 10.0.0.10
My Laptop static ip : 10.0.0.5

When i use my laptop log to Centos 5.4 by SSH, i't ask U&P of Centos.I think i config correct SSH server, firewall.
Now, i want to from INTERNET log my Centos by SSH. Could you give me solution?
 
Old 11-10-2010, 02:41 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well again, you've given no more detail there about why this isn't already working... your machine has a public IP address on the WAN? and firewalls are correctly configured (you say that they are, right...????) so you would just ssh to the public address over the internet.

IF you have infact done no firewall configuration at all, and you actually just have a trivial home network (which again, you've not told us anything about) then go to portforward.com find your router and forward port 22 from your public router IP to the internal machine.
 
  


Reply



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
Please check log system on Centos 5 chobong Linux - Newbie 7 10-13-2010 03:47 AM
Can't log into Centos wasamzy Linux - Server 5 03-06-2010 03:08 PM
CentOS won't let me log in as anybody! bmiller1213 Linux - Newbie 1 07-03-2009 12:52 PM
Log all SSH commands at ssh-client. mohammednv Linux - Networking 6 01-26-2008 05:02 AM
SSH - How can i alllow someone SSH to my network from Internet - please help me b:z Linux - Networking 4 04-05-2005 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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