iptables rule for more than one target

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

 



Hello everyone, what I want is add an rule in my firewall with more
than an destination target. for exemplo:

/sbin/iptables -t mangle -I PREROUTING -s 10.10.10.10 -d !
192.100.100.8 10.254.253.1 172.16.0.1  -j MARK --set-mark 5

when I try add this rule appear

Bad argument `10.254.253.1'
Try `iptables -h' or 'iptables --help' for more information.

I need add some "-d ! x y z ..."



thanks
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux