By justinnoor
I just purchased an Ubuntu 16.04 droplet. I want to setup my own firewall with nftables. I installed nftables successfully. I can start the nftables.service manually, but when I try to enable it to start at bootup with:
sudo systemctl enable --now nftables
I get the following error:
update-rc.d: error: nftables Default-Start contains no runlevels, aborting
What is this? Is it some kind of old-school Sys V error?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
I contacted DO staff and found that as of today 12/6/17, the version of nftables in Ubuntu is outdated and not fully compatible with systemd. I also found that nftables works like a charm on the Fedora droplet. My first time using Fedora and I’m liking it!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.