how to config 80 port for apache in iptables

Patrick O'Callaghan pocallaghan at gmail.com
Sun Apr 12 18:16:41 UTC 2009


On Sun, 2009-04-12 at 18:47 +0100, Steve Searle wrote:
> Around 05:20pm on Sunday, April 12, 2009 (UK time), Patrick O'Callaghan scrawled:
> 
> > On Sun, 2009-04-12 at 16:52 +0100, Steve Searle wrote:
> > > Around 03:28pm on Sunday, April 12, 2009 (UK time), Patrick O'Callaghan scrawled:
> > > 
> > > > On Sun, 2009-04-12 at 22:18 +0800, Nathan Huang wrote:
> > > > > Hi guys
> > > > > who can help me with opening 80 port for apache in iptables, I want to
> > > > > access my apache server from remote computer,  but I failed in config
> > > > > iptables with 80 port.
> > > > 
> > > > Why don't people just use system-config-firewall? It works perfectly
> > > > well for 99% of users and you don't need to understand anything about
> > > > iptables syntax.
> > > 
> > > What a strange answer.  Perhaps he's the 1 % who it doesn't work
> > > perfectly well for.  Perhaps he doesn't trust it.  Perhaps he didn't
> > > know about it.
> > 
> > Configuring port 80 is so utterly standard that if the OP had tried
> > s-c-f and it didn't work I'm sure we'd have heard all about it by now.
> > 
> > "He didn't know about it" is of course the most likely answer, so I
> > don't see why my reply is "strange".
> 
> Becasue it wasn't asnwering what he asked.  Letting him know alternative
> methods is fine, but I don't believe that implying that editing iptables
> is the wrong way is good advice.  The old teach a man to fish...

It was actually more a general comment than a specific answer, since
I've noticed a lot of questions about iptables here and virtually no
mention of s-c-f.

> However on reflection my reply was a bit snippy.  Apologies.

No problem.

poc




More information about the users mailing list