"iptables: No chain/target/match by that name"

Brian McNally bmcnally at u.washington.edu
Thu Dec 21 19:48:37 CET 2006


Hello,

I'm running Red Hat Enterprise Linux 3 with the 2.4.21-27.0.2.ELsmp  
kernel and iptables 1.2.8. When I try and insert the following rule:

iptables -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to- 
ports 8080

I get the following error:

iptables: No chain/target/match by that name

$ lsmod | grep ipt
iptable_nat            22808   0  (autoclean) (unused)
ipt_REJECT              4632   1  (autoclean)
ipt_state               1080   5  (autoclean)
ip_conntrack           29800   2  (autoclean) [iptable_nat ipt_state]
iptable_filter          2412   1  (autoclean)
ip_tables              16544   6  [iptable_nat ipt_REJECT ipt_state  
iptable_filter]

Any ideas? I'm wondering if I'm missing a kernel module that iptables  
needs, but my understanding was that it should load the modules it  
needs on the fly.

Thanks,

--
Brian McNally





More information about the netfilter mailing list