DEV Community

Discussion on: Installing nftables from sources on Debian

Collapse
 
juantek profile image
juantek

Hi Isabel,
First, i would like to thank you for sharing this nftable building from source. I followed it and at the end I encountered an error such as:

arth@deb10:~$ sudo systemctl start nftables.service
Failed to start nftables.service: Unit nftables.service not found.

I checked the internet but could not find a proper solution for this one or i am misunderstanding what was written.

I already added /etc/modules-load.d/nftables.conf in order for the systemd to recognized it (as i understood it). I rebooted the system but when i ran systemctl enable nftables.service the same error message came again.

OS: Debian 10 (Buster)

nft had been built:

arth@deb10:~$ sudo nft -v
nftables v0.9.2 (Scram)

What did i miss here? thanks very much...

/etc/modules-load.d/nftables.conf contains the ff:

nf_conntrack
nf_conntrack_ipv4
nf_conntrack_ipv6
nf_defrag_ipv4
nf_defrag_ipv6
nf_nat
nf_nat_ipv4
nf_tables
nf_tables_inet
nf_tables_ipv4
nf_tables_ipv6
nfnetlink
nft_counter
nft_ct
nft_hash
nft_limit
nft_log
nft_meta
nft_rbtree
nft_reject
nft_reject_inet
nft_reject_ipv4
nft_reject_ipv6