In what file in Ubuntu 10.04 "Lucid Lynx" Server are boottime-activated iptables rules written by default?

Actually I look for it to set up Webmin to manage iptables rules.

link|improve this question

38% accept rate
feedback

3 Answers

From the command line you can follow the steps listed at https://help.ubuntu.com/community/IptablesHowTo (scroll down to the section titled "Configuration on startup") to save your iptables ruleset and have it load on boot.

If you used webmin to generate the rules I believe it saves a copy in /etc/webmin/firewall/iptables.save but I do not remember for sure.

link|improve this answer
feedback

By default Ubuntu Server haven't got any firewall configured, so no file is defined.

You can use Webmin without worries.

link|improve this answer
feedback

I followed the two methods described in the iptables HowTo referenced above and in both cases, the restore on reboot/startup loaded the rules. However in both cases the save did NOT save the rules. I can execute the command manually and it works. Any ideas why the save does not work?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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