Have you run lokkit to see how it displays this info?

# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.

Ivan Jouikov wrote:

Here are the contents of my /etc/sysconfig/iptables:

# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here.
*filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT -A FORWARD -j RH-Lokkit-0-50-INPUT -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT COMMIT


I am not that good with iptables, but it seems to me that the line

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT

Blocks all ports from 0 to 1023 for TCP/IP...  I don't recall putting that there, but 
is that what it really does?  And if it is, how can I make it so that port 80 is 
available?



-----Original Message-----
From: Dennis Dai [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 5:24 PM
To: Tomcat Users List
Subject: Re: Tomcat works for localhost, but won't work for the local
intranet..

RedHat's defualt firewall rules?

On 7/9/2004 5:18 PM, Ivan Jouikov wrote:



I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem.



I am using jsvc to launch Tomcat standalone as Tomcat5 user.  Everything
seems to work fine, when I connect to localhost or 127.0.0.1 from that
same computer.



However, if I try to connect to Tomcat from my local intranet, I get
âPage Cannot be Displayedâ after a long wait.



If I try to ping that computer, everything works just fine:  ping
192.168.0.33..  If I try to run MySQL client for that computer,
everything works fineâ  But if I type in my browser



http://192.168.0.33/



I get page not found.  Oh yeah, my Tomcat is set up to work standalone,
and the only connector that it has is an HTTP connector on port 80.



Does anyone know what could be wrong?





------------------------------------------------------------------------

Best Regards,

Ivan V. Jouikov
(206) 228-6670
<http://www.ablogic.net/>




--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004




--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to