Servers-for-Hackers / the-book

Servers for Hackers eBook Issues
63 stars 5 forks source link

iptables-persistent issue #96

Open katimari opened 5 years ago

katimari commented 5 years ago

In the case study file, server quickstart area, page 9 the directions are to install iptables-persistent and then run sudo service iptables-persistent start. When i do that I get an error Unit iptables-persistent.service not found.

I googled it and found this:

It seems since Ubuntu 16.04, iptables-persistent has been replaced by netfilter-persistent. The package still exist and automatically install netfilter-persistent thanks to a dependancy. It's possible to use the following command to start the firewall.