public inbox for netfilter@vger.kernel.org
 help / color / mirror / Atom feed
* nft for bridge.
@ 2025-08-18 12:05 ratheesh kannoth
  2025-08-18 14:20 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 6+ messages in thread
From: ratheesh kannoth @ 2025-08-18 12:05 UTC (permalink / raw)
  To: Netfilter mailing list

hi,

inet offload is working fine for me.
++++++++++++++++++++++++
/etc/nftables/inet.nft

table inet x {

     flowtable f {
        hook ingress priority 0
        devices = { eth0, sdp1-0 }
        flags offload;
     }

    chain forward {
        type filter hook forward priority 0; policy accept;
        ct state { established, related } flow add @f
    }
}
++++++++++++++++++
But bridge nft fails. Could you help with correct configuration?  i
have already enabled below config
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_NF_CONNTRACK_BRIDGE=y


/etc/nftables/ibridge-raw.nft
--------------
table bridge x {

     flowtable f {
        hook ingress priority 0
        devices = { br0  }
        flags offload;
     }

    chain forward {
        type filter hook forward priority 0; policy accept;
        ct state { established, related } flow add @f
    }
}
~# nft -f /etc/nftables/ipv4-raw.nft
/etc/nftables/ipv4-raw.nft:7:16-16: Error: Could not process rule: No
such file or directory
     flowtable f {
               ^
/etc/nftables/ipv4-raw.nft:15:43-53: Error: Could not process rule: No
such file or directory
        ct state { established, related } flow add @f
                                          ^^^^^^^^^^^

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-06 10:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 12:05 nft for bridge ratheesh kannoth
2025-08-18 14:20 ` Pablo Neira Ayuso
2025-10-05  7:03   ` ratheesh kannoth
2025-10-05 11:45     ` Florian Westphal
2025-10-05 12:26       ` ratheesh kannoth
2025-10-06 10:03         ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox