[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables service with debian

On Mon, Apr 30, 2012 at 11:14 AM, Rob Owens <rowens@ptd.net> wrote:

> I have tried to use /etc/network/if-pre-up.d on my laptop (which uses
> NetworkManager) and it does not load my iptables rules.  But if I call
> my script manually, it will load properly.  Is NetworkManager
> incompatible with /etc/network/if-pre-up.d?

"/etc/network/if-pre-up.d" applies to ifup not to NM. The NM
equivalent is "/etc/NetworkManager/dispatcher.d".

> In the meantime, I'm trying out iptables-persistent.  I have it installed now,
> but there is no manpage and nothing useful in /usr/share/doc.  Time to
> do some research...

Take a look at the init script. It loads firewall rules from "/etc/iptables".

Reply to: