pvc
09-18-2002, 08:22 AM
hi, i just had to restart my server for some reason a while ago, but now that i'm bringing it back up i cant get iptables to work anymore.
i'm using this machine as a gateway/router so iptables is quite importand.
the problem i have i that for iptables wont load the nat table,
it sais:
/etc/init.d/iptables status
Table: nat
iptables v1.2.5: can't initialize iptables table `nat': Module is wrong version
Perhaps iptables or your kernel needs to be upgraded.
now i have run some autoupdate stuff from my graphical shell (mandrake update)
so i think that might have something to do with it.. but i have no idea how or why or what, also i know basicaly nothing about iptables, though i tried starting the masquerading by using
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE,
but this gave the same error.
any one have any idea what i can do about this (except for reinstalling iptables or compiling a new kernel)
(it has worked before with the same kernel)
thanks in advance, Pieter.
i'm using this machine as a gateway/router so iptables is quite importand.
the problem i have i that for iptables wont load the nat table,
it sais:
/etc/init.d/iptables status
Table: nat
iptables v1.2.5: can't initialize iptables table `nat': Module is wrong version
Perhaps iptables or your kernel needs to be upgraded.
now i have run some autoupdate stuff from my graphical shell (mandrake update)
so i think that might have something to do with it.. but i have no idea how or why or what, also i know basicaly nothing about iptables, though i tried starting the masquerading by using
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE,
but this gave the same error.
any one have any idea what i can do about this (except for reinstalling iptables or compiling a new kernel)
(it has worked before with the same kernel)
thanks in advance, Pieter.