Hi,

On Sun, Aug 14, 2011 at 05:02:59PM +0200, Pascal Dormeau wrote:
> Trying to give a try to iptables-persistent, I fell onto the following 
> problem: I got "skipping IPv4 (no module loaded)" message at startup 
> (same for IPV6) whereas doing "up /sbin/iptables-restore < 
> /etc/iptables/rules.v4" in my /etc/network/interface load my iptables 
> rules at startup without any error.

This error is because the iptables module wasn't loaded by the time
iptables-persistent was started. Have you made any changes to boot
configuration on that machine?

> The init script (load_rules) checks if /proc/net/ip_tables_names is 
> present before loading the rules, meaning that tables modules must be 
> loaded first. It seems that with current iptables and kernels shipped 
> with Debian, it is not necessary. If I comment the part with the 
> /proc/net/ip_tables_names test, my rules are loaded at startup.

The test is slightly misleading; it's actually there to check
iptables/ip6tables itself has loaded, and the tables module is there by
default (at least in my testing - if that's not the case on your machine,
please say so).

-- 
Jonathan Wiltshire                                      [email protected]
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

Attachment: signature.asc
Description: Digital signature

Reply via email to