Re: How to port "-m multiport ! --sports 80,443" to nftables?

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

 



Mikhail Morfikov <mmorfikov@xxxxxxxxx> wrote:
> > Check out iptables-translate tool, it can help if you are familiar with
> > iptables.
> This tool isn't really accurate. I mean, when I passed my rules to it, 
> especially the one in question or similar, I got this:
> 
> # -t raw -A peerblock -p tcp -m multiport  --dports 80,443 -m set --match-set some_set dst -j DROP

Older version.  1.8.2 one translates it (minus -m set part).
But I agree, its better to do it by hand as that gives more
opportunities to use nft set/map infra.



[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