Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Robin Bowes <robin-lists@ro...> - 2006-02-14 11:56:23
I'm using fwbuilder to manage a firewall on a Fedora Core 4 box.
After I update the firewall and install it I log on to the server and
iptables-save > /etc/sysconfig/iptables
This ensures that the the rules are reloaded when the box is restarted.
Is it possible to add a script that is run after the firewall has been
remotely installed to do this automatically?
On Feb 14, 2006, at 3:55 AM, Robin Bowes wrote:
> I'm using fwbuilder to manage a firewall on a Fedora Core 4 box.
> After I update the firewall and install it I log on to the server and
> iptables-save > /etc/sysconfig/iptables
> This ensures that the the rules are reloaded when the box is
> Is it possible to add a script that is run after the firewall has been
> remotely installed to do this automatically?
you can add this command to the epilog part of the script generated
by fwbuilder (in firewall settings dialog, tab "Prolog/Epilog"), or
you could use external installer script such as fwb_install and
modify it accordingly.
Please note though that firewall script generated by fwbuilder does
some other things besides adding iptables rules, in particular, it
configures virtual IP addresses on interfaces and handles addresses
obtained dynamically. You lose this functionality if you save
iptables config using iptables-save and restore it after reboot using