I'm not a total newbie, but feel like one today.
I've set up a test box running CentOS 4.4 On that server is an application which communicates on TCP ports 2000 - 2007. I am unable to establish a connection from a PC on the same LAN. The server can run the application using it's local loopback IP address.
How do I determine if these ports are blocked? NMAP says they are open. I'm able to establish an SSH connection to this system from the same PC which appears blocked on port 2002 (and others).
This is the results of running iptables -L
That last entry looks ominous to me, but I'm not sure. This system will only be used for internal R&D. The firewall is probably not needed at all. How can it be disabled, and how can I selectively enable ports? I'd like to know both answers.
Thanks much for your time.
"Proof that there is intelligent life in Oregon. Well, Life anyway.
I've set up a test box running CentOS 4.4 On that server is an application which communicates on TCP ports 2000 - 2007. I am unable to establish a connection from a PC on the same LAN. The server can run the application using it's local loopback IP address.
How do I determine if these ports are blocked? NMAP says they are open. I'm able to establish an SSH connection to this system from the same PC which appears blocked on port 2002 (and others).
This is the results of running iptables -L
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Thanks much for your time.
"Proof that there is intelligent life in Oregon. Well, Life anyway.