On Debian 9, when trying to use iptables to create a set of rules, it works for IPv4 but not IPv6. With IPv6 I get the following error:
modprobe: ERROR: could not insert 'ip6_tables': Unknown symbol in module, or unknown parameter (see dmesg)
ip6tables-restore v1.6.0: ip6tables-restore: unable to initialize table 'filter'
When I look at dmesg I see the following two errors:
ip6_tables: Unknown symbol xt_percpu_counter_free (err 0)
ip6_tables: Unknown symbol xt_percpu_counter_alloc (err 0)
What exactly is this error telling me and why am I getting it?
On this page the OP found a solution of manually installing a new Linux kernel. Is this a preferred solution? Will manually installing a new kernel like this cause problems in the future when I try to upgrade the system with apt-get?