[ILUG] iptables woes

Chris Boyd chris_d_b71 at yahoo.com
Fri Apr 9 14:40:46 IST 2004


Setting up a Fedora server....
I can't seem to connect to anything on server.
DNS is not resolving, cannot ssh into (but I can
out)...I can ping it and website comes up in browser
with another machine.
netstat -a -e -p shows all these ports listening but
there is no traffic connecting ('cept http) to them.
I suspect my iptables aren't set up correctly.
Here's what she looks like:

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 all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
REJECT all -- anywhere anywhere reject-with
icmp-host-prohibited


I'm a novice on firewalling so I'm not sure what rule
would be dropping those packets.

TIA,

=====
"There is an odor to any press headquarters that is unmistakable...the unavoidable smell of flesh burning quietly and slowly in the service of a machine."

    -Norman Mailer

Chris Boyd
Cell: 353 85 731 1902

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



More information about the ILUG mailing list