Re: nft icmp type all?

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

 



On 1/24/20 1:29 PM, kfm@xxxxxxxxxxxxx wrote:
On 24/01/2020 21:16, Robert Sander wrote:
Hi,

how do I specify a rule to match all ICMP packages?

nft add rule ip filter input icmp accept

does not work.

nft add rule ip filter input meta l4proto icmp accept

I think this also works:

nft add rule ip filter input ip protocol icmp accept





[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