WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: core v10 ,iptables : cant't initialize iptables table 'nat'  (Read 2475 times)

Offline graveroberth

  • Newbie
  • *
  • Posts: 4
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
« Last Edit: May 16, 2019, 07:36:54 AM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11257
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #1 on: May 15, 2019, 08:15:37 PM »
Hi graveroberth
Maybe you need  ipv6-4.14.10-tinycore.tcz.
« Last Edit: May 16, 2019, 07:37:13 AM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11257
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #2 on: May 15, 2019, 08:22:23 PM »
Hi graveroberth
You do have the  netfilter-4.14.10-tinycore.tcz  dependency installed, right?
« Last Edit: May 16, 2019, 07:37:24 AM by Rich »

Offline graveroberth

  • Newbie
  • *
  • Posts: 4
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #3 on: May 16, 2019, 07: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)
« Last Edit: May 16, 2019, 07:37:35 AM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11257
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #4 on: May 16, 2019, 07:42:04 AM »
Hi graveroberth
Glad to hear it worked. Version number changed from  9  to  10  in the OP and the subject lines.