[SOLVED] iptables masquerading no longer seems to work - Missing module in kernel? - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: [SOLVED] iptables masquerading no longer seems to work - Missing module in kernel? (/thread-2729.html) |
iptables masquerading no longer seems to work - Missing module in kernel? - marky - 11th Feb, 2015 01:36 AM Hi all, Since last night my iptables masquerading seems to throw an error. I did indeed perform an update yesterday, but I couldn't fix the issue by rolling back. Today I set up a completely fresh installation of xbian and am still getting the same error. When I try setting up masquerading with iptables for my VPN using this command: Code: iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -i eth0 -j MASQUERADE my raspi returns this error message: iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. i am currently running this configuration: Code: root@xbian ~ # uname -a I'd be happy to give more info, but for now I don't know what else to do, I loaded a dozen modules so far and couldn't find a viable solution googling around.. Anyone having the same problem? Or does anyone have a solution? Thanks a lot! RE: iptables masquerading no longer seems to work - Missing module in kernel? - menakite - 11th Feb, 2015 02:11 AM Mind to report it here? https://github.com/xbianonpi/xbian/issues - please report your previous kernel version (check the last entries in /var/log/apt/history.log if unsure). I think the relevant kernel module has just been disabled by mistake. RE: iptables masquerading no longer seems to work - Missing module in kernel? - marky - 11th Feb, 2015 02:20 AM done, thank you. I'm afraid it'll take a while till this is passed down and ends up fixed in one of the next releases if it's the case that the module is missing RE: iptables masquerading no longer seems to work - Missing module in kernel? - marky - 11th Feb, 2015 04:23 AM Kernel module was missing, quick fix for everyone having the same problem with kernel 3.17.7-ck2+ is to downgrade to xbian-package-kernel_3.16.5-ck2+-1420117998 (available in the staging repo). Looks like the setting will be changed in future versions. See https://github.com/xbianonpi/xbian/issues/672 RE: iptables masquerading no longer seems to work - Missing module in kernel? - rikardo1979 - 11th Feb, 2015 04:28 AM Thanks. Would you mind edit prefix of your thread to [Solved]? RE: iptables masquerading no longer seems to work - Missing module in kernel? - todovale80 - 12th Feb, 2015 07:38 PM Hello there, I'm new to Xbian and I just did a fresh new installation, Can you explain me how to downgrade the kernel? Thanks. (11th Feb, 2015 04:23 AM)marky Wrote: Kernel module was missing, quick fix for everyone having the same problem with kernel 3.17.7-ck2+ is to downgrade to xbian-package-kernel_3.16.5-ck2+-1420117998 (available in the staging repo). RE: iptables masquerading no longer seems to work - Missing module in kernel? - marky - 12th Feb, 2015 08:39 PM (12th Feb, 2015 07:38 PM)todovale80 Wrote: Hello there, The new kernel should already be out there and should be fixed. I haven't tried it yet, so here's what I did to move back to an older version: Code: wget http://apt.xbian.org/pool/staging/rpi-wheezy/x/xbian-package-kernel/xbian-package-kernel_3.16.5-ck2+-1420117998_armhf.deb after the reboot, you should have moved back to version 3.16.5. RE: iptables masquerading no longer seems to work - Missing module in kernel? - todovale80 - 13th Feb, 2015 06:19 PM Thank you marky, I did what you suggested, but now I cant get my wlan0 to work! did we miss something? Thanks (12th Feb, 2015 08:39 PM)marky Wrote:(12th Feb, 2015 07:38 PM)todovale80 Wrote: Hello there, |