WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: core v10 ,iptables : cant't initialize iptables table 'nat'  (Read 2876 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, 10:36:54 AM by Rich »

Online Rich

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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11701
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #2 on: May 15, 2019, 11:22:23 PM »
Hi graveroberth
You do have the  netfilter-4.14.10-tinycore.tcz  dependency installed, right?
« Last Edit: May 16, 2019, 10: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, 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)
« Last Edit: May 16, 2019, 10:37:35 AM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11701
Re: core v10 ,iptables : cant't initialize iptables table 'nat'
« Reply #4 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.