LinuxQuestions.org
Review your favorite Linux distribution.
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 07-18-2010, 08:50 AM   #1
matt_thumper
Member
 
Registered: Feb 2010
Posts: 37

Rep: Reputation: 15
Question Linux (Fedora) Computer Closed Doors to the Outside World


Hi,

Configuration Information:
I have a Windows 7 box and a new Fedora Linux box (both are just regular home-use Dell PCs).

Both access the Internet via my Netgear DGN2200 and they are physically connected to it.

When I log into the NetGear administration portion of the router I see both devices (192.168.0.2 and 192.168.0.3).

What I can do:
1) As I said, I can get to the Internet from both boxes.
2) I can log into that adminstrator portion of the router thru its Browser interface (by going to 192.168.0.1) either thru the Fedora box or the Windows box.
3) I can ping both machines and get responses/data from both machines regardless of whether I am on Windows 7 (cmd.exe) or Fedora (regular old terminal/shell).
4) While I am in Fedora, I can even ssh into the Windows box and do commands (like date and dir).
5) I can generally reference either machine by its IP address or the device name it is assigned (say for this example, "Windows7Box" and "FedoraBox").

And here is the REAL problem, What I CAN'T do:
I can't get INTO the Fedora box from the Windows box:
1) I can't PUtty over to it (ssh, rlogin, telnet).
It usually responds with a timed out connection,
but I also have seen connection refused
2) The Fedora Box is running my own personal Web site - internally (not on the Web), through Apache.
It is a fully functional site including CGI scripts.
But I cannot access it from the Windows box either thru 192.168.0.3 or "FedoraBox"
(or for that matter, http://192.168.0.3, http://FedoraBox, http://192.168.0.3/index.html, http://FedoraBox.html, ad nauseum)
Here too, I get connection timed out.
3) In my Windows 7 box I run the MKS toolkit - ksh in this case - and from ksh in Windows 7, I can't rlogin, rsh, ssh or telnet into the Linux (Fedora) box.
4) I even installed Samba and configured it - but I get the same results. That is, I cannot access the filesystem (directory and files) on the Linux box FROM the Windows 7 box.

Generally, I have been root to try this stuff out - except for obvious stuff like the Web browser.

Can anyone tell me why the Fedora box has it's doors closed to the outside world -
except for its working Internet connection and simplistic 'ping' capability?

Thanks, Matt
 
Old 07-18-2010, 09:23 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Do you have a firewall running on the linux box?
The output of iptables -L should tell you.

Have you installed and configured sshd on the linux box? If you don't have an ssh server running, you will not be able to connect.
 
Old 07-18-2010, 01:21 PM   #3
matt_thumper
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar View Post
Do you have a firewall running on the linux box?
The output of iptables -L should tell you.

Have you installed and configured sshd on the linux box? If you don't have an ssh server running, you will not be able to connect.
Thanks for the reply.

I have the firewalls on both boxes (McAfee on W7 and system-config-firewall 1.2.25 on Fedora) disabled. However, I get the all the same results whether they are up or down.

Doesn't look like I have sshd.

Do I 'yum install sshd'?

Thanks again,
Matt
 
Old 07-18-2010, 01:27 PM   #4
matt_thumper
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 15
'yum install sshd' says there are no packages to install, nothing to do. How/where do I get the sshd package?

Last edited by matt_thumper; 07-18-2010 at 01:28 PM. Reason: simple edit
 
Old 07-18-2010, 01:28 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I've never used fedora, but 'yum install sshd' sounds reasonable.

You'll also have to configure sshd.

Some links (in no particular order):

http://embraceubuntu.com/2005/10/28/...m-using-sshfs/
http://www.cyberciti.biz/tips/linux-...practices.html
http://troy.jdmz.net/rsync/index.html
http://www.linuxquestions.org/linux/...ation_with_ssh
 
Old 07-18-2010, 01:52 PM   #6
matt_thumper
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks again, you really helped. I guess it is sshd. The answer that I used explicitly is marked as #1 with the green checkmark at:
http://serverfault.com/questions/307...d-on-fedora-11

More Fedora bizarreness that I'm not even going to try to understand is that I actually have to have the firewall enabled! So, yes you heard right, for me to get to the Fedora box from W7 the firewall must be enabled. Bizarre. Wierd. Bizarre. Makes Bill's s/w look 'right' by comparison.... Wierd. Bizarre.
 
  


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
LXer: Wine-Doors for Linux Reviewed LXer Syndicated Linux News 0 08-13-2008 08:00 PM
LXer: Linux drives the world’s fastest computer LXer Syndicated Linux News 0 06-09-2008 06:20 PM
LXer: Linux powered Blue Gene/P becomes the fastest computer in the world LXer Syndicated Linux News 0 06-26-2007 09:46 AM
LXer: Picotux - the smallest Linux Computer in the World LXer Syndicated Linux News 0 04-23-2006 05:54 PM
closed computer receiving data cristi1979 Linux - Security 2 07-11-2003 12:22 AM

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

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