Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: makoto on June 21, 2013, 09:33:09 AM

Title: iptables of piCore cannot work
Post by: makoto on June 21, 2013, 09:33:09 AM
I want to use my RaspberryPi as a router. I installed dnsmasq and iptables. But when I execute:
Code: [Select]
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEit gives the error:
Code: [Select]
iptables v1.4.19.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
My piCore kernel version is 3.8.13. I noticed that the kernel modules in netfilter is different from those in my laptop tinycore. I modprobe these modules which contain 'iptable' and 'nat', but the error remains. In tinycore, related modules will be loaded after I execute iptables command. Any solutions?
Title: Re: iptables of piCore cannot work
Post by: bmarkus on June 21, 2013, 11:21:35 AM
Well, there are no nat related kernel moduls. Will check
Title: Re: iptables of piCore cannot work
Post by: bmarkus on June 21, 2013, 04:22:13 PM
NAT is disabled in current kernel. I will meke a new release in trhe next days.
Title: Re: iptables of piCore cannot work
Post by: bmarkus on June 26, 2013, 03:01:13 AM
Update to recent piCore version released today.
Title: Re: iptables of piCore cannot work
Post by: makoto on June 26, 2013, 10:37:36 AM
Thank you for your work :D
Title: Re: iptables of piCore cannot work
Post by: bmarkus on June 26, 2013, 10:51:52 AM
Thank you for your work :D

You are welcome. Does it work?
Title: Re: iptables of piCore cannot work
Post by: makoto on June 27, 2013, 03:57:34 AM
It works fine.