Inverting filters

Linux Advanced Routing and Traffic Control

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

 



How to invert match parameter?

Like this:

tc filter add dev eth0 protocol ip parent 1: prio 1 u32 \
    match ip src 10.20.30.40 \
    match ip dst !10.30.0/24 \
    match ip dst !10.40.0/24 \
    flowid 1:20

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux