IPTABLES / NAT / MASQUERADE?

Forum about Parallella boot process, linux kernel, distros, SD-cards, etc.

IPTABLES / NAT / MASQUERADE?

Postby andyconn7 » Wed Aug 12, 2015 3:26 am

Any gurus out there with thoughts on how to get this working? Any attempt to reference the "nat" chain is unsuccessful.

* Kickstarter Parallella with fresh install of the Headless Ubuntu from the Getting Starting instructions

* iptables -t nat -L generates this error:

parallella@parallella:~$ sudo iptables -t nat -L
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.14.12-parallella-xilinx-g40a90c3/modules.dep.bin'
iptables v1.4.21: can't initialize iptables table `nat': No chain/target/match by that name
Perhaps iptables or your kernel needs to be upgraded.
andyconn7
 
Posts: 1
Joined: Wed Aug 12, 2015 3:19 am

Re: IPTABLES / NAT / MASQUERADE?

Postby sebraa » Wed Aug 12, 2015 7:24 pm

Try the following:
- run "depmod -a" as root, then do the iptables command again
- try to manually load the "iptable_nat" kernel module
- check if the NAT module is actually part of the kernel (see /proc/config.gz, uncompress and check whether CONFIG_NF_NAT is "y" or "m"). If this is not enabled, you need to compile your own kernel.

Best Regards,
sebraa
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Linux/U-Boot

Who is online

Users browsing this forum: No registered users and 8 guests

cron