Answer the question
In order to leave comments, you need to log in
Why doesn't it save the rules in iptables?
installed Ubuntu Server 18.04 configured and registered rules in iptables and everything works fine until reboot
tried to install sudo apt-get install iptables-persistent
after installation it says whether to save the rules in /etc/iptables/rules.v4 I write yes, I check that the rules are there really registered,
nothing happens when you reboot
The rules there refer to the Nata table The
question is, why can not save the rules and what other options are there for saving the rules?
Answer the question
In order to leave comments, you need to log in
Because it worked at 16, and at 18 you need to install 2 packages
Everything else is +/- as well.
sudo /etc/init.d/iptables-persistent save
sudo /etc/init.d/iptables-persistent reload
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question