Closed bmcd closed 6 years ago
Thanks, I'll get that updated!
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
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 .
Updated for next release
It seems like the iptables-persistent service has a new name. Should be:
sudo service netfilter-persistent start