0

On my Ubuntu server (installed KVM and Kimchi), I noticed that the iptables are changed after a reboot. Unfortunately I did not find out which script is responsible for these changes.

I tried to store my own settings in `/etc/iptables/rules.v4? and bring them back after reboots by adding

/sbin/iptables-restore < /etc/iptables/rules.v4

to /etc/rc.local. When I manually execute this line, it works properly. But when I rebooted the machine again, my settings were overridden by the other script again. I conclude that my line from /etc/rc.localis executed before this external script, hence overridden.

Which one could it be and how could I find it out?

1

Most likely this is UFW, Ubuntu's own firewall control software.

  • No, it says that it is disabled? – andreas Feb 10 '15 at 12:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.