From: Earl A.Killian Subject: anti-spoofing rule placement question Date: Thu, 23 Oct 2003 07:19:08 -0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <16279.58204.161920.989846@teak.killian.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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: netfilter@lists.netfilter.org The iptables firewalls I've seen put anti-spoofing rules in the filter/INPUT and filter/FORWARD chains. The documentation that this is where filtering is best done. However, if you put them in one of the PREROUTING chains, you would not have to duplicate the N calls to them (one call per interface usually), since that is common to the path to INPUT and FORWARD. Is there a problem in doing that (e.g. put them in the nat/PREROUTING chain)?