Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-25-2006, 11:31 AM
|
#1
|
Member
Registered: Oct 2003
Posts: 48
Rep:
|
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
|
|
|
08-25-2006, 11:35 AM
|
#2
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
could be a network cable problem.
|
|
|
08-25-2006, 12:07 PM
|
#3
|
Member
Registered: Oct 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-25-2006, 01:20 PM
|
#4
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
Are you saying that you can run 'ssh brokenpc' and that works but 'ssh localhos' does not work?
|
|
|
08-25-2006, 03:02 PM
|
#5
|
Member
Registered: Oct 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-25-2006, 03:12 PM
|
#6
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
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.
|
|
|
08-25-2006, 03:34 PM
|
#7
|
Member
Registered: Oct 2003
Posts: 48
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|