WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: iptables of piCore cannot work  (Read 2488 times)

Offline makoto

  • WikiUser
  • *
  • Posts: 26
iptables of piCore cannot work
« on: June 21, 2013, 06: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?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6975
    • My Community Forum
Re: iptables of piCore cannot work
« Reply #1 on: June 21, 2013, 08:21:35 AM »
Well, there are no nat related kernel moduls. Will check
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6975
    • My Community Forum
Re: iptables of piCore cannot work
« Reply #2 on: June 21, 2013, 01:22:13 PM »
NAT is disabled in current kernel. I will meke a new release in trhe next days.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6975
    • My Community Forum
Re: iptables of piCore cannot work
« Reply #3 on: June 26, 2013, 12:01:13 AM »
Update to recent piCore version released today.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline makoto

  • WikiUser
  • *
  • Posts: 26
Re: iptables of piCore cannot work
« Reply #4 on: June 26, 2013, 07:37:36 AM »
Thank you for your work :D

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6975
    • My Community Forum
Re: iptables of piCore cannot work
« Reply #5 on: June 26, 2013, 07:51:52 AM »
Thank you for your work :D

You are welcome. Does it work?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline makoto

  • WikiUser
  • *
  • Posts: 26
Re: iptables of piCore cannot work
« Reply #6 on: June 27, 2013, 12:57:34 AM »
It works fine.