LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-24-2011, 12:12 AM   #1
basheer.rehan
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Angry Access denied when login from outside my network


Dear friends,

I Have installed fedora 14 on my PC and had set up LAN when i tries to connect linux using ssh connection i am able to conect it but when i tries to connect from outside my network(Say from my office or from netcafe) i was not able to connect. i was not even able to ping my server but after some investigation i found that smb server configuration and ssh_config changes now i am able to ping my server. but when i tried to connect using Putty it is accepting user but when i enter right password it says access denied.

Please help me to connect my server outside my network.

quick help would appreciative

Regards
Basheer.
 
Old 02-24-2011, 12:32 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The problem is almost certainly a firewall.

You need to open port 22 on your LAN's firewall, and make sure your NAT directs port 22 to your server running sshd.
 
Old 02-24-2011, 12:54 AM   #3
basheer.rehan
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
port 22 is open but still not working.

Last edited by basheer.rehan; 02-24-2011 at 12:55 AM.
 
Old 02-24-2011, 01:24 AM   #4
basheer.rehan
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
can any one help me how to access my server from outside my lan

please provide me solution step by step
 
Old 02-24-2011, 11:17 AM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
port 22 is open
"port 22 is open" *where*???

You probably have a software firewall (iptables) on your Linux host.

You probably also have a firewall on your DSL or Cable modem (whatever you're using for Internet connectivity).

Port forwarding needs to be configured to point to your actual host.

Etc.

You need to find - and check - everything on your LAN between the Internet and your sshd daemon.

PS:
www.linuxhomenetworking.com is a great resource - please check it out!

Last edited by paulsm4; 02-24-2011 at 11:20 AM.
 
  


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
Not able to access network printer access denied. arvind.s Linux - Networking 1 08-04-2009 07:05 PM
Access denied-solaris login shivays Solaris / OpenSolaris 2 04-16-2008 07:08 PM
Access Denied when I try to login remotely to my SSH server running on Cygwin. andrew_cz General 0 05-02-2006 10:46 AM
Unix Login - Access Denied anandabrata Linux - Newbie 3 12-01-2005 02:10 AM
SSH login ... access denied (suse 9.1) saxxon1 Linux - Networking 3 09-14-2004 03:34 PM


All times are GMT -5. The time now is 04:20 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