LinuxQuestions.org
Visit Jeremy's Blog.
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 08-25-2006, 11:31 AM   #1
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Rep: Reputation: 15
Server Not allowing any port connections.


I have a web/mail server running FC5/Apache/Qmail. Everything was running fine yesterday and then when I tried to get my mail this morning I get a connection timeout error when trying to pull up a webpage.

It also looks like it is blocking all the other ports as well. I have tried to telnet to various port and get no response from the server. I have tired it on the local machine (the one that has problems) and I can connect to the ports.

I have ran the system-config-securitylevel-tui and disable the firewall for the time being to see if that was it and it didn't seem to solve the problem. I also have selinux disabled.

I thought maybe it was the smoothwall I have in front of the boxes was having an issue however it seems to be forwarding all other ports to other machines just fine, so it seems to be something with that box.

I have also looked in the logs and don't see anything out of the ordinary.

I'm stumped, not sure where to go from here.

Any help would be great.

Thanks
Troy
 
Old 08-25-2006, 11:35 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
could be a network cable problem.
 
Old 08-25-2006, 12:07 PM   #3
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I can ssh to the box from another box inside my network. I cannot access it via ssh directly though.

It appears that it my be something that was upgrade before the restart, but I upgraded about 200 things since this was a new install of FC5 and I'm not sure what would cause all ports to be blocked.

Last edited by atomicx; 08-25-2006 at 12:49 PM.
 
Old 08-25-2006, 01:20 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Are you saying that you can run 'ssh brokenpc' and that works but 'ssh localhos' does not work?
 
Old 08-25-2006, 03:02 PM   #5
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I have 2 servers: testserv & webserv
The broken server is webserv

I cannot use say Putty (ssh app) to go directly to webserv however I can us Putty login to the testserv then do a ssh to the webserv.
 
Old 08-25-2006, 03:12 PM   #6
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
It looks like a problem with either your firewall or it could be your /etc/hosts.allow file. What does /etc/hosts.allow say? It could be that your firewall only allows yout to SSH to the testserver.
 
Old 08-25-2006, 03:34 PM   #7
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I think something go messed in my router so I ran the following command and it fixed it.

/sbin/route add -net 0.0.0.0 gw 192.168.0.1 eth0
 
  


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
cannot Allowing Incoming X Connections with xhost + libin88 Linux - Enterprise 1 11-09-2005 04:25 PM
Allowing connections to port 8080 in iptables apache363 Linux - Software 1 10-12-2004 03:14 PM
webserver - allowing connections from outside gateway? maverick106 Fedora 2 05-03-2004 11:01 AM
Allowing connections to apache and qmail in hosts.allow reesee Linux - Security 2 04-11-2004 11:41 PM
MySQL not allowing connections from Applet peteABK Linux - Newbie 1 11-04-2003 10:29 PM

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

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