Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all the world.
i am a beginner in linux technology.
i installed centos 5.2 on HP server.
i need to give external access to my server.so other users out of my loval network can connect to via SSH.
in my local network all is well.
but when other users (out of my local network) try to access the could not.
please show me how to give access to my serevr via ssh.
that doesn't seem to address to OP... you got it the wrong way round.
What is the "outside" here? Internet? If so it sounds like you'll need a nat on your internet facing devices to route traffic for port 22 into the server, but you've provided so little information it's hard to suggest much of use.
i have forwardee routing to teh port 22 according to teh local address of the server.
i have an active firewall with ssh checked.
i am waiting your questions and solutions .please help.
Sounds like a firewall issue to me. Does /var/log/secure tell you after a failed attempt? If there's no log entry, something is stopping the connection attempt getting to the server.
Are you sure the ssh server is running? Try "netstat -nalp | grep :22". You should see "sshd" listed.
thanks a lot for your replies.
when i ma typing netstat -nalp | grep :22.
i find ssh is listed and it is port is 22.
i will try to disable my firewall and see what happens.
You are kidding aren't you? The OP needs to make sure that the firewall isn't blocking port 22, but don't tell him to shut it off.
Why would you need to run the local firewall assuming that this server is in a protected network? There is virtually no information to go on and it is likely that this person will not know what to do. So in the interest of ruling out that as a problem, it should be disabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.