From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edmundo Carmona Subject: Firewall script Date: Tue, 27 Sep 2005 09:55:20 -0400 Message-ID: <65aa6af905092706551e67d8e8@mail.gmail.com> References: <200509271639.33162.usergroups@theargoncompany.com> <52145.193.173.147.3.1127822241.squirrel@webmail.sterenborg.info> <65aa6af90509270654746608f7@mail.gmail.com> Reply-To: Edmundo Carmona Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <65aa6af90509270654746608f7@mail.gmail.com> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On 9/27/05, Rob Sterenborg wrote: ... > > $IPTABLES -A FORWARD -i $LAN_IFACE -m state --state NEW \ > -p tcp --dport 25 -j LOG --log-prefix "SMTP_REJECT: " > $IPTABLES -A FORWARD -i $LAN_IFACE -m state --state NEW \ > -p tcp --dport 25 -j REJECT --reject-with tcp-reset > . . . I have had this question in my mind for some time by now, but never had the need to answer it.. however, this post brings it on. As you can see, first, you have a LOG, and then in the same chain for the same traffic, you REJECT. What other targets allow traversal to go on in the same chain?