Welcome! Log In Create A New Profile

Advanced

Problem with NAT

Posted by syro 
Problem with NAT
July 25, 2013 03:41AM
Hey!

Thanks for all your support. I have a little Problem with activating NAT.

I am using Kernel: 3.8.11-kirkwood-tld-3

iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

Result:

iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


Anyone some suggestions to solve the Problem?

Thank you very much!



Edited 1 time(s). Last edit at 07/25/2013 03:41AM by syro.
Re: Problem with NAT
July 26, 2013 12:21AM
syro Wrote:
-------------------------------------------------------
> Hey!
>
> Thanks for all your support. I have a little
> Problem with activating NAT.
>
> I am using Kernel: 3.8.11-kirkwood-tld-3
>
> iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o
> eth0 -j MASQUERADE
>
> Result:
>
>
> iptables v1.4.14: can't initialize iptables table
> `nat': Table does not exist (do you need to
> insmod?)
> Perhaps iptables or your kernel needs to be
> upgraded.
>
>
>
> Anyone some suggestions to solve the Problem?
>
> Thank you very much!

I'm not sure. Did it work for you before the upgrade?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem with NAT
July 26, 2013 02:39AM
i just took the image from there:

http://forum.doozan.com/read.php?2,12096

Download at Dropbox: 
Debian-3.8.11-kirkwood-rootfs-bodhi.tar.bz2 
md5: 
072fb299bf7f74a271522d5f44317692 

Installation: 

- format a new ext3 USB drive, and label it rootfs. Note: if your uBoot env for usb_rootfstype is ext2, then use an ext2 USB drive. 
- cd to top level directory and extract it (assuming the USB drive is mounted at /media/sdb1) 
cd /media/sdb1 
tar -xjf Debian-3.8.11-kirkwood-rootfs-bodhi.tar.bz2 
sync 
- reboot
Re: Problem with NAT
July 26, 2013 03:00AM
Ah! the rootfs is a basic rootfs, you'll need to update iptables package to get the latest.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem with NAT
July 26, 2013 03:13AM
Thanks for your Help!

I am trying with apt-get install iptables

but it says:

iptables is already the newest version.
Re: Problem with NAT
July 27, 2013 12:49AM
syro,

Did you try to load the module first?

modprobe iptable-filter

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem with NAT
July 27, 2013 06:11AM
bodhi Wrote:
-------------------------------------------------------
> syro,
>
> Did you try to load the module first?
>
> modprobe iptable-filter

Nope still not working :-(

iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.



Edited 1 time(s). Last edit at 07/27/2013 06:15AM by syro.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: