I use my osmc box as a openvpn server and, for that, I have to configure nat using:
sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j SNAT --to-source 192.168.1.88
Since the last update, I got the following error:
iptables v1.6.0: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
It seems that the module iptable_nat can not be loaded:
sudo modprobe iptable_nat
modprobe: ERROR: could not insert ‘iptable_nat’: Unknown symbol in module, or unknown parameter (see dmesg)
And the following errors are written to dmesg:
[ 4585.399160] nf_nat: Unknown symbol nf_ct_ext_add (err 0)
[ 4585.399213] nf_nat: Unknown symbol nf_ct_invert_tuplepr (err 0)
[ 4585.399253] nf_nat: Unknown symbol nf_ct_seqadj_set (err 0)
[ 4585.399314] nf_nat: Unknown symbol nf_ct_helper_expectfn_unregister (err 0)
[ 4585.399340] nf_nat: Unknown symbol nfnetlink_parse_nat_setup_hook (err 0)
[ 4585.399371] nf_nat: Unknown symbol nf_ct_extend_register (err 0)
[ 4585.399402] nf_nat: Unknown symbol nf_ct_helper_expectfn_register (err 0)
[ 4585.399426] nf_nat: Unknown symbol nf_ct_extend_unregister (err 0)
[ 4585.399463] nf_nat: Unknown symbol nf_ct_l3proto_module_put (err 0)
[ 4585.399500] nf_nat: Unknown symbol nf_conntrack_tuple_taken (err 0)
[ 4585.399555] nf_nat: Unknown symbol nf_conntrack_htable_size (err 0)
[ 4585.399587] nf_nat: Unknown symbol nf_conntrack_alter_reply (err 0)
[ 4585.399622] nf_nat: Unknown symbol nf_ct_free_hashtable (err 0)
[ 4585.399663] nf_nat: Unknown symbol nf_ct_iterate_destroy (err 0)
[ 4585.399737] nf_nat: Unknown symbol nf_ct_l3proto_try_module_get (err 0)
[ 4585.399762] nf_nat: Unknown symbol nf_ct_alloc_hashtable (err 0)
It seems that something has been broken with the last update, or is there any incompatibility?