[Fedora-livecd-list] Is it possible to configure the firewall in %post?

Bruno Wolff III bruno at wolff.to
Thu Jun 30 03:46:40 UTC 2011


On Wed, Jun 29, 2011 at 21:39:16 -0400,
  Aaron Cohen <aaron at assonance.org> wrote:
> I'm trying to configure a firewall for my livecd. Currently, I'm
> calling lokkit in %post, though I've also tried using iptables and
> iptables-save. Unfortunately, no matter what I try, my configuration
> seems to be discarded.

Depending how you do it, you may want to added the commands to the
livesys script. If you don't do it that way, you'd probably want to
try doing a service iptables save in post. But I don't know if that
would even work correctly in a chroot environment.


More information about the livecd mailing list