Re: nft add chain ... No such file or directory

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

 



Christopher Baines <mail@xxxxxxxxxxx> wrote:
> Hey,
> 
> So I've just started trying out nftables, but I've hit a snag:
> 
>   ~# nft add chain inet filter input { type filter hook input priority 0 \; }
>   Error: Could not process rule: No such file or directory
>   add chain inet filter input { type filter hook input priority 0 ; }
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Probaly the table doesnt exist:

nft add table inet filter

> The most promising description I could find about this, suggested that
> it was missing Linux modules that I needed to load, but I'm not sure
> which I'm missing.

Modules should be autoloaded automatically, manual loading is not
needed.

> The list tables command shows "table inet filter", so I
> think I have the prerequsites to create a chain.

Oh.  Yes, if inet filter table exists the command should work
(and it does work for me).
--
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