IP Tables problem

Ronald I. Nutter ronald_nutter at georgetowncollege.edu
Wed Oct 20 13:53:11 UTC 2004


Thanks. Should have caught that.  Made the fix.  Working fine now.

Appreciate the help.

Ron

--------------------------------------------------------------------
Ron Nutter                          ron_nutter at georgetowncollege.edu 
Network Manager
Information Technology Services                        (502)863-7002
Georgetown College                                     
Georgetown, KY                                            40324-1696
--------------------------------------------------------------------
 

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of antonio tuozzo
Sent: Wednesday, October 20, 2004 9:43 AM
To: General Red Hat Linux discussion list
Subject: Re: IP Tables problem


dns uses udp protocol

:)

On Wed, Oct 20, 2004 at 08:56:34AM -0400, Ronald I. Nutter wrote:
> I am setting up a RHEL 3 box to take the place of one of our DNS 
> servers.  Everything works ok until I bring up Iptables.  I used 
> redhat-config-securitylevel to setup the rules.  Here is what I am 
> currently using -
> 
> # Firewall configuration written by redhat-config-securitylevel # 
> Manual customization of this file is not recommended. *filter
> :INPUT ACCEPT [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [0:0]
> :RH-Firewall-1-INPUT - [0:0]
> -A INPUT -j RH-Firewall-1-INPUT
> -A FORWARD -j RH-Firewall-1-INPUT
> -A RH-Firewall-1-INPUT -i lo -j ACCEPT
> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
> -A RH-Firewall-1-INPUT -p 50 -j ACCEPT
> -A RH-Firewall-1-INPUT -p 51 -j ACCEPT
> -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 53
-j
> ACCEPT
> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22
-j
> ACCEPT
> -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
> COMMIT
> 
> I can SSH and do DNS lookups against the server without the rules in 
> place.  With the rules in place, I can only SSH to the server.  
> NSLOOKUP starts reporting DNS timeouts.  This is a single nic system.

> I am new to iptables, so I had hoped this would get things running 
> easier than my trying to piece things together.
> 
> Suggestions ?
> 
> Ron
> --------------------------------------------------------------------
> Ron Nutter                          ron_nutter at georgetowncollege.edu 
> Network Manager
> Information Technology Services                        (502)863-7002
> Georgetown College                                     
> Georgetown, KY                                            40324-1696
> --------------------------------------------------------------------
>  
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list