Re: combining iptables parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux