Forum OpenACS Q&A: Re: basic firewall features on RH 8.0

Collapse
Posted by James Bennin on
I have this thread and I am having the contrary firewall problem. I am using Red Hat Linux 8.0 with OpenACS 4.6.3. My firewall is set too high, and people on the network where my machine is on (the one with aolserver) cannot access my server/page at http://.....:8000. How do I reconfigure the firewall setting so I allow communication through port 8000 and 8443 (for secure logging). This is what my /etc/sysconfig/iptables file contains :
# 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 RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 140.188.64.153 --sport 53 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
COMMIT

So how do I modify this to allow communication on ports 8000 and 8443?? If there are any other information you need please let me know. Thank you