[iptables] How to both DROP and LOG

From: Harry Putnam (reader@newsguy.com)
Date: 05/18/02


From: Harry Putnam <reader@newsguy.com>
Date: Sat, 18 May 2002 00:52:34 -0700


Can a single iptables rule be given that will both DROP and LOG attempted
connections?

Or must it be done like below?
  iptables -I FORWARD -s $host -j DROP

  iptables -I FORWARD -s $host -j LOG