RE: IP Tables problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Appreciate the help.

Ron

--------------------------------------------------------------------
Ron Nutter                          ron_nutter@xxxxxxxxxxxxxxxxxxxxx 
Network Manager
Information Technology Services                        (502)863-7002
Georgetown College                                     
Georgetown, KY                                            40324-1696
--------------------------------------------------------------------
 

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxxxxxxxxxxxxx 
> Network Manager
> Information Technology Services                        (502)863-7002
> Georgetown College                                     
> Georgetown, KY                                            40324-1696
> --------------------------------------------------------------------
>  
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

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

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux