Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-17 Thread Costin
On Sat, May 14, 2011 at 00:31, Bernd Zeimetz be...@bzed.de wrote: Hi, If I remember right such functions were removed from the iptables package for various good reasons, for example to avoid that people lock themselves  out. Implementing something similar is pertty easy, add something like

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-17 Thread Peter Samuelson
On Sat, May 14, 2011 at 00:31, Bernd Zeimetz be...@bzed.de wrote: to the network config in your /etc/network/interfaces and at the point when you have a well working iptables config use iptables-save /etc/network/iptables.save I go further: I run the iptables-save

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-13 Thread Costin
On Thu, May 12, 2011 at 23:21, Andrei Popescu andreimpope...@gmail.com wrote: Hi Costin, See if iptables-persistent does what you need. Thank you for pointing that package, Andrei. Unfortunately it does not have the ability to save the current filter rules set, as Redhat's does.

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-13 Thread Costin
On Fri, May 13, 2011 at 21:17, Costin costi...@gmail.com wrote: On Thu, May 12, 2011 at 23:21, Andrei Popescu andreimpope...@gmail.com wrote: Hi Costin, See if iptables-persistent does what you need. Thank you for pointing that package, Andrei. Unfortunately it does not have the ability

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-13 Thread Bernd Zeimetz
Hi, If I remember right such functions were removed from the iptables package for various good reasons, for example to avoid that people lock themselves out. Implementing something similar is pertty easy, add something like pre-up iptables-restore /etc/network/iptables.save || true to the

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-12 Thread Andrei Popescu
Hi Costin, See if iptables-persistent does what you need. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature

Bug#626424: Please implement a method to save and restore netfilter rules at boot

2011-05-11 Thread Costin
Package: (none) Version: (none) There have been several requests against the iptables package to include a init script, all rejected by the maintainer: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413550 (Can't set iptable rules before initiating network at boot)