Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: graveroberth on May 15, 2019, 11:02:23 PM

Title: core v10 ,iptables : cant't initialize iptables table 'nat'
Post by: graveroberth on May 15, 2019, 11:02:23 PM
Hi!

I'm trying to setup core v10 as a NAT router on a vm (virtualbox windows), when i run the following command:

sudo iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

it shows this: iptables v1.8.2 (legacy) can't initialize iptables table 'nat' :Table does not exist (do you need to insmod?)
Perharps iptables or your kernel needs to be upgraded

Is this intended?

    [EDIT]: Changed  v9  to  v10.  Rich
Title: Re: core v10 ,iptables : cant't initialize iptables table 'nat'
Post by: Rich on May 15, 2019, 11:15:37 PM
Hi graveroberth
Maybe you need  ipv6-4.14.10-tinycore.tcz.
Title: Re: core v10 ,iptables : cant't initialize iptables table 'nat'
Post by: Rich on May 15, 2019, 11:22:23 PM
Hi graveroberth
You do have the  netfilter-4.14.10-tinycore.tcz  dependency installed, right?
Title: Re: core v10 ,iptables : cant't initialize iptables table 'nat'
Post by: graveroberth on May 16, 2019, 10:25:13 AM
Hi Rich!

Thank your for your solution , i installed ipv6-4.19.10-tinycore.tcz and now iptables works. (i wasn't using core v9 but v10 , a mistake on the subject of my post)
Title: Re: core v10 ,iptables : cant't initialize iptables table 'nat'
Post by: Rich on May 16, 2019, 10:42:04 AM
Hi graveroberth
Glad to hear it worked. Version number changed from  9  to  10  in the OP and the subject lines.