LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2012, 06:50 AM   #1
yanlongxiang
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
iptables: No chain/target/match by that name


hello:
I transplant iptables to ARM board. The kernel is 2.6.24, and the iptables is 1.3.7.
the lsmod display:
Module Size Used by Tainted: P
iptable_filter 2272 1
ipt_MASQUERADE 2688 1
iptable_nat 6116 1
nf_conntrack_ipv4 13320 1 iptable_nat
nf_nat 15510 2 ipt_MASQUERADE,iptable_nat
ip_tables 10792 2 iptable_filter,iptable_nat
nf_conntrack 52124 4 ipt_MASQUERADE, iptable_nat, nf_conntrack_ipv4,nf_nat
x_tables 12036 3 ipt_MASQUERADE,iptable_nat,ip_tables

and the /lib has:
libipt_tcp.so, libipt_DNAT.so, libipt_SNAT.so
Why I input "iptables -A INPUT -p tcp --dport 80 -j ACCEPT", It will have error "iptables: No chain/target/match by that name", and "iptables -A INPUT -p tcp -j ACCEPT" is OK.
So, I found it will error When the input has "--dport xx" or "--sport xx".
I'm not good at English, will be a lot of grammatical errors.
Somebody can help me solve the problem.

Thank You.
 
Old 08-17-2012, 06:52 AM   #2
yanlongxiang
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Module Size Used by Tainted: P
iptable_filter 2272 1
ipt_MASQUERADE 2688 1
iptable_nat 6116 1
nf_conntrack_ipv4 13320 1 iptable_nat
nf_nat 15510 2 ipt_MASQUERADE,iptable_nat
ip_tables 10792 2 iptable_filter,iptable_nat
nf_conntrack 52124 4 ipt_MASQUERADE,iptable_nat,nf_conntrack_ipv4,nf_nat
x_tables 12036 3 ipt_MASQUERADE,iptable_nat,ip_tables
 
Old 08-17-2012, 06:55 AM   #3
yanlongxiang
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
sorry:
lsmod display:
iptable_filter
ipt_MASQUERADE
iptable_nat
nf_conntrack_ipv4
nf_nat
ip_tables
nf_conntrack
x_tables
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables: No chain/target/match by that name secretlydead Linux - Networking 2 04-08-2010 10:42 PM
iptables: No chain/target/match by that name amdy Linux - Networking 2 04-07-2010 11:59 PM
iptables: No chain/target/match by that name - with 2.6.17.7 tp11235 Linux - Kernel 10 03-24-2010 02:15 AM
iptables: No chain/target/match by that name serpentor Linux - Server 4 02-05-2009 10:02 AM
iptables: No chain/target/match by that name qanopus Linux - Networking 6 01-04-2009 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration