[CentOS] combining iptables parameters

Thu Oct 29 19:50:47 UTC 2009
Marcus Moeller <mail at marcus-moeller.de>

Dear James.

>> is there a way to combine iptables parameters like: iptables
>> -A OUTPUT -p UDP & -p TCP -d $IP1 & -d $IP2 ?

I should have better written something like:

-A OUTPUT -p UDP OR -p TCP -d $IP1 OR -d $IP2

as that's what I was looking for. Sorry.

Best Regards
Marcus