On Thu, Jan 02, 2003 at 03:25:21PM -0500, JUSTIN GERRY wrote: > (For example, I will drop anything claiming to be from a Class A > Private Network on either interface) > iptables -A INPUT -i $IF1 -s $CLASS_A -j DROP > iptables -A INPUT -i $IF2 -s $CLASS_A -j DROP > > can be written in one line as: > iptables -A INPUT -s $CLASS_A -j DROP Yes, any field like -i or -s or -d when NOT specified defaults to 'any'. -Ath -- - Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/ Finger athan(at)fysh.org for PGP key "And it's me who is my enemy. Me who beats me up. Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
Attachment:
pgp00242.pgp
Description: PGP signature