LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2013, 01:58 PM   #1
InventiousTech
LQ Newbie
 
Registered: Oct 2013
Posts: 20

Rep: Reputation: Disabled
Port based services stopped working


Ok, so I have a centos 5.9 server running on an old HP Proliant DL380 G4 (thread about my troubles setting it up can be found here), and I'm having an issue with the network connection. I set up a static IP by editing the /etc/sysconfig/network-scripts/ifcfg-eth0 file, and it seemed to work. I was able to SSH in with the new IP on port 11122 (custom port in /etc/ssh/sshd_config file). The problem was that I could no longer access the internet from the machine itself, so I did some research and found that I had no DNS configured. I added google (8.8.8.8 and 8.8.4.4) to /etc/resolv.conf as nameservers, and viola internet access. The problem is that now I can't SSH in. No error or anything, just "connection timed out". Also, I have configured ports 25565 and 8123 to be allowed through iptables for a minecraft server, but I can't connect to those either. I don't think it's a problem with the firewall because when I try to SSH in through port 22 (not allowed through iptables), I get a "connection refused" error immediately, which is what I want on that port. The problem is that the open ports aren't correctly processing data. Any ideas what might be the problem?

Last edited by InventiousTech; 10-10-2013 at 02:06 PM.
 
Old 10-10-2013, 04:40 PM   #2
InventiousTech
LQ Newbie
 
Registered: Oct 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Well, as it turns out, iptables got reset somewhere in my fiddling, so my exceptions got deleted. Everything's working fine now.
 
  


Reply

Tags
iptables


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
$ startx stopped working, was working fine when I shut it down last night BogoMIPS_1962 Slackware 2 08-10-2013 02:04 PM
xrdp stopped working, blocked port 3350 fzanella Linux - Newbie 0 07-30-2009 04:11 PM
Three Mobile Broadband was configured and working but it has now stopped working and Tinabarma Linux - Newbie 0 10-20-2008 08:36 AM
Network services (sshd, webmin, httpd) stopped answering rustyz82 Fedora 1 02-20-2006 08:21 AM
Need web based terminal services GPF Linux - Software 1 02-01-2006 05:52 PM

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

All times are GMT -5. The time now is 03:27 AM.

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