Answer the question
In order to leave comments, you need to log in
Not applying iptables rules after ubuntu server update?
Yesterday I updated ubuntu server 10.04 -> 12.04
The update went well, everything worked, except for one thing - the iptables rules are not applied.
Those. Conclusion: iptables -L
there is never a single rule. There are no error messages when trying to add a rule.
After the reboot, the first time I try to view the rule, I get an error:
iptables v1.4.12: can`t initialize iptables table 'filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe -f ip_tables
Answer the question
In order to leave comments, you need to log in
Try simply reinstalling the iptables and iptables-persistent packages.
Message about "can`t initialize iptables table 'filter'" only on the first attempt to add a rule?
On a booted system, can you add a rule from the console?
How do you start the rules at startup, through an if-up script?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question