Nftables support?

I have been scratching my head all day trying to set up nftables on my fly machine.

I now have a very minimal setup, but I still can’t set anything up. Here is the image I’m using for debugging purposes:

FROM debian:latest
RUN apt update && apt install -y nftables
ENTRYPOINT ["tail", "-f", "/dev/null"]

I ssh into the machine and ran:

root@73d8d9997f9789:/# nft add table inet my_table
Error: Could not process rule: Operation not supported
add table inet my_table
^^^^^^^^^^^^^^^^^^^^^^^^

My understanding is that the kernel is not configured correctly to use nftables?

What are my alternatives?

1 Like

I have found a workaround using iptables-legacy on debian

2 Likes