David M Lemcoe Jr.
2009-Apr-07 22:57 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. Is there a particular reason for this? Or is it a fail on my end? Thanks, David Sent from my Verizon Wireless BlackBerry
Brian Mathis
2009-Apr-07 23:00 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
On Tue, Apr 7, 2009 at 6:57 PM, David M Lemcoe Jr. <forum at lemcoe.com> wrote:> Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. > > Is there a particular reason for this? Or is it a fail on my end? > > Thanks, > DavidNot every server is a web server.
David M Lemcoe Jr.
2009-Apr-07 23:02 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
Let me clarify. When I install the web server packages on a Cent install. ------Original Message------ From: Brian Mathis Sender: centos-bounces at centos.org To: CentOS Mailing list ReplyTo: CentOS Mailing list Sent: Apr 7, 2009 19:00 Subject: Re: [CentOS] CentOS automatically blocks port 80 out-of-the-box On Tue, Apr 7, 2009 at 6:57 PM, David M Lemcoe Jr. <forum at lemcoe.com> wrote:> Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. > > Is there a particular reason for this? Or is it a fail on my end? > > Thanks, > DavidNot every server is a web server. _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos Sent from my Verizon Wireless BlackBerry
Karanbir Singh
2009-Apr-07 23:07 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
David M Lemcoe Jr. wrote:> Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. >post install reboot, you would normally get a text/graphical UI that lets you setup firewall policy, selinux policy amongst other things. Just add port 80 to the list of ports you'd want open on all interfaces.> Sent from my Verizon Wireless BlackBerryits still broken. -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Craig White
2009-Apr-07 23:08 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
On Tue, 2009-04-07 at 22:57 +0000, David M Lemcoe Jr. wrote:> Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. > > Is there a particular reason for this? Or is it a fail on my end?---- run program... system-config-securitylevel and you can select various well-known ports or just add your own 'lesser known' port numbers. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Jeremiah Heller
2009-Apr-07 23:12 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
On 7 Apr 2009, at 15:57, David M Lemcoe Jr. wrote:> by default, iptables is blocking inbound port 80 requests. This > leads me to believe that I have a non-OS firewall error because I > can ping but not http request. > > Is there a particular reason for this? Or is it a fail on my end?it's a secure default.
Michael A. Peters
2009-Apr-07 23:49 UTC
[CentOS] CentOS automatically blocks port 80 out-of-the-box
David M Lemcoe Jr. wrote:> Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. > > Is there a particular reason for this? Or is it a fail on my end?Very few ports are open out of the box. I'm not sure, but I think if you choose the webserver (or is it server ??) option at install it might have port 80 open. Port 22 is open for ssh. I think 631 (cups) is as well, but not positive. You can configure the firewall with system-config-securitylevel-tui after install (it runs during firstboot as well) where you can easily tell it to turn on port 80 (and/or 443) for web services. pinging a box has nothing to do with ports are blocked, open, or closed. You can filter pings but I don't believe the firewall does by default.