Servers-for-Hackers / the-book

Servers for Hackers eBook Issues
63 stars 5 forks source link

iptables-persistent service name change Page 33 #66

Closed bmcd closed 6 years ago

bmcd commented 7 years ago

It seems like the iptables-persistent service has a new name. Should be:

sudo service netfilter-persistent start

fideloper commented 7 years ago

Thanks, I'll get that updated!

rnottinger commented 7 years ago

if iptables-persistent and netfilter-persistent are both installed then you can save iptable rules by running netfilter-persistent save which will create the files /etc/iptables/rules.v4 & /etc/iptables/rules.v6 https://askubuntu.com/questions/911863/where-does-netfilter-persistent-save-the-iptables-rules

also to prevent the dialog from asking if you want to save rules when you install iptables-persistent ... DEBIAN_FRONTEND=noninteractive apt install -y iptables-persistent

fideloper commented 7 years ago

Thanks!

On Tue, Jul 4, 2017 at 4:16 PM, Richard Ottinger notifications@github.com wrote:

if iptables-persistent and netfilter-persistent are both installed then you can save iptable rules by running netfilter-persistent save which will create the files /etc/iptables/rules.v4 & /etc/iptables/rules.v6 https://askubuntu.com/questions/911863/where-does- netfilter-persistent-save-the-iptables-rules

also to prevent the dialog from asking if you want to save rules when you install iptables-persistent ... DEBIAN_FRONTEND=noninteractive apt install -y iptables-persistent

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Servers-for-Hackers/the-book/issues/66#issuecomment-312956347, or mute the thread https://github.com/notifications/unsubscribe-auth/AAch094J9WlidE0WEBM32ZROKCN7wEpaks5sKquXgaJpZM4KOZad .

fideloper commented 6 years ago

Updated for next release