From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: not able to set ct state rule Date: Fri, 17 Jul 2020 13:34:08 +0200 Message-ID: <20200717113408.GT32005@breakpoint.cc> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andreas Hoefler Cc: "netfilter@vger.kernel.org" Andreas Hoefler wrote: > Hi > > I am trying to set up a basic connection tracking rule: > #nft list ruleset > table ip filter { > chain input { > type filter hook input priority 0; policy accept; > } > } > # nft add rule filter input ct state established accept > Error: Could not process rule: No such file or directory > add rule filter input ct state established accept > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ works for me on 5.6.18. > cat /proc/config.gz | gunzip | grep NFT > # CONFIG_NFT_NUMGEN is not set > CONFIG_NFT_CT=m Does "modinfo nft_ct" work? If its does, is that module loaded? If not, try to load it manually. If that makes the rule add work, then module autoloading is broken on your system for some reason.