The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help needed in IPTables firewall/router setup - Linux chandan_m Security 0 08-24-2007 03:20 PM
Linux IPTABLES help nogumo UNIX for Dummies Questions & Answers 0 06-18-2005 04:31 PM
LINUX 9 IPTABLES and DNS frankkahle Linux 6 03-10-2005 09:23 PM
IPtables Jody UNIX for Dummies Questions & Answers 3 05-31-2003 05:08 PM
how to configure a linux box as a firewall using iptables Deuce UNIX for Dummies Questions & Answers 2 11-06-2001 01:25 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-03-2005
Registered User
 

Join Date: Mar 2005
Posts: 74
LINUX 9 IPTABLES and DNS

I have installed a linux 9 router/firewall and have issues with outside DNS queries making it in. here are my IPTABLE rules, can anyone make some suggestions?

ETH1 is my outside facing Interface, ETH0 is my inside facing interface.

Accept If input interface is not eth1
Accept If protocol is TCP and TCP flags ACK (of ACK) are set
Accept If protocol is UDP and input interface is eth1 and destination port is 1024:65535 and source port is 53
Accept If state of connection is ESTABLISHED
Accept If state of connection is RELATED
Accept If protocol is TCP and destination is 216.58.39.241 and input interface is eth1 and destination port is 110
Accept If protocol is TCP and destination is 216.58.39.241 and input interface is eth1 and destination port is 25
Accept If protocol is TCP and input interface is eth1 and source and destination ports are 6346
Accept If protocol is ICMP and ICMP type is source-quench
Accept If protocol is ICMP and ICMP type is time-exceeded
Accept If protocol is ICMP and ICMP type is parameter-problem
Accept If protocol is TCP and destination port is ssh
Accept If protocol is TCP and destination port is auth
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-03-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
First suggestion is not to break the rules - you posted this question the other day in the Linux forum. Moderators, please remove.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0