From: Saravanan Chanemouganandam <schane@osmozis.com>
To: netfilter@vger.kernel.org
Subject: iptables v1.3.5: Couldn't load target `MASQUERADE':File not found
Date: Thu, 13 Dec 2007 16:02:03 +0100 [thread overview]
Message-ID: <200712131602.04744.schane@osmozis.com> (raw)
Hi all,
Iam a newbie to use iptables and I am fascing the following issue with
iptables v 1.3.5 on my target pxa270 Xscale running linux 2.6.16.
schane:/sbin$ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables v1.3.5: Couldn't load target `MASQUERADE':File not found
Try `iptables -h' or 'iptables --help' for more information.
schane:/sbin$ iptables -A INPUT -i lo -j ACCEPT
iptables v1.3.5: Couldn't load target `standard':File not found
Try `iptables -h' or 'iptables --help' for more information.
I did google and mail archieve search but couldn't find the exact information
to fix the problem. To use iptables, I have enabled Core Netfilter
Configuration, IP Netfilter Configuration built into linux-2.6.16 kernel
image and cross compiled iptables package using buildroot's
arm-linux-uclibc-gcc as
make KERNEL_DIR=/home/pxa270/linux-2.6.16
CC=/home/sara/BuildRoot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-gcc
LD=/home/sara/BuildRoot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-ld
BINDIR=/home/sara/BuildRoot/myrootfs/sbin
LIBDIR=/home/sara/BuildRoot/myrootfs/lib install
I have also built the netfilter configuration as kernel modules for the test
and lsmod shows the list of modules loaded , but still the problem persists.
schane:~$ lsmod
Module Size Used by Not tainted
ipt_MASQUERADE 3296 0
ipt_REJECT 4608 0
ipt_owner 2016 0
ipt_LOG 6048 0
iptable_nat 7300 0
ip_nat 15282 2 ipt_MASQUERADE,iptable_nat
iptable_mangle 2400 0
iptable_filter 2528 0
ip_conntrack 51096 3 ipt_MASQUERADE,iptable_nat,ip_nat
nfnetlink 5624 2 ip_nat,ip_conntrack
ip_tables 11464 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 11172 6
ipt_MASQUERADE,ipt_REJECT,ipt_owner,ipt_LOG,iptable_nat,ip_tables
Can anybody tell me where it went wrong ?
Thanks
Sara
next reply other threads:[~2007-12-13 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 15:02 Saravanan Chanemouganandam [this message]
2007-12-14 19:06 ` iptables v1.3.5: Couldn't load target `MASQUERADE':File not found Matt Zagrabelny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200712131602.04744.schane@osmozis.com \
--to=schane@osmozis.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox