Hi Bart,

On Tue, 24 Jul 2012 09:34:07 +0200
Bart Dieterman <bartdieter...@gmail.com> wrote:
> sudo ip6tables-restore < /etc/ip6tables.firewall.rules
> And I get:
> ip6tables-restore: line 18 failed
> [...]
> Kernel: Linux 2.6.32-042stab057.1 (SMP w/1 CPU core)
This kernel version does not exist in Debian. However, there is an
OpenVZ kernel for RHEL with that version number. Therefore, I assume
you are running Debian in an OpenVZ VM and didn’t tell us (please tell
us in the future).

As noted in [1], ip6tables-restore always returns an error in the
COMMIT line. Therefore, it’d be useful to test the basic functionality
of ip6tables-restore first and — in case that even works — narrow down
the problem by inserting many COMMIT statements. Can you please try the
following?

cat <<EOF | sudo ip6tables-restore
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
EOF

Does that work on your machine?

I also setup a VM with kernel 2.6.32-5-amd64 and iptables 1.4.8-3 (same
major versions that you are using). As expected, running
ip6tables-restore with your rules file works just fine. I’m therefore
tagging this bug unreproducible and moreinfo, meaning it will be closed
in a reasonable timeframe in case you don’t reply anymore :).

In [1], womble notes that your OpenVZ provider might have disabled
iptables. I think that’s very likely the cause for your problem.

Best regards,
Michael

[1] http://serverfault.com/questions/101022


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to