Re: Multiple labels with connlabel

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

 



Amiq Nahas <m992493@xxxxxxxxx> wrote:
> Currently this can be done
> iptables -t mangle -I PREROUTING -m connlabel --label portforward
> 
> What if someone wants to use multiple labels? One would have to write
> this same rules several times.
> Can we do something like this:
> iptables -t mangle -I PREROUTING -m connlabel --label
> portforward-something-somethingelse-...

No, thats not supported.  You can use matches multiple times:

iptables -t mangle -I PREROUTING \
  -m connlabel --label portforward \
  -m connlabel --label something \
  -m connlabel --label somethingelse



[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