From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kjetil Andreas Laasby Subject: Re: Tightening up outgoing traffic Date: 15 Oct 2002 15:18:14 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1034687894.8681.53.camel@Wiggum> References: <1034686034.15446.38.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1034686034.15446.38.camel@localhost.localdomain> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Neil Hodge Cc: netfilter@lists.netfilter.org Problably because yahoo.com lies in your local DNS cache or on an cache server behind your firewall. add iptables -A OUTPUT -p tcp --destination-port domain -j ACCEPT iptables -A OUTPUT -p udp --destination-port domain -j ACCEPT also. You should also open up RELATED ICMP to minimize delay for errors. hth, Kjetil Laasby. > All: > > I am running directly off the firewall box. I currently have the > following: > > iptables -P OUTPUT ACCEPT > > When I change to this: > > iptables -P OUTPUT DROP > iptables -A OUTPUT -p tcp --destination-port http -j ACCEPT > > I keep getting "domainname can not be found. Please check the name and > try again" from my browser. This only happens for new web sites (i.e., > Yahoo works fine). As this seems somewhat like a DNS issue, I tried > adding this: > > iptables -A OUTPUT -p tcp --destination-port nameserver -j ACCEPT > > but it didn't work. Any ideas? Thanks. > > Neil Hodge > > >