IP Tables problem

Crucificator crucificator at home.ro
Wed Oct 20 16:20:20 UTC 2004


antonio tuozzo wrote:

>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
>>    
>>
>
>  
>
As a matter of fact DNS uses both TCP and UDP.




More information about the redhat-list mailing list