On Fri, Apr 17, 2009 at 9:56 AM, Erik Xavior <erikxavior80@gmail.com> wrote: > I have a simple iptables script. > > If I put it in rc2.d, it runs at boot, works OK. Did you try to use your iptable script in post-up / pre-down hooks at /etc/network/interfaces ? I think it is the best solution for that Regards,