Problems with trying to use the TEE target
Greeting,
I trying to use the TEE target but I keep getting the errors even using the example commandi on the ipxt_TEE man page.
# iptables −t mangle −A PREROUTING −i eth0 −j TEE −−gateway 1.1.1.1 iptables: No chain/target/match by that name.
It doesn't matter what table / filter that I specify the command. the same 'No chain/target/match by that name' error occurs. I'm current using iptables-1.4.10 that I've compiled and installed on the server. The linux kernel is 2.6.32.
I've tested my iptables installation using some other rules sets that I used in the past using SNAT, DNAT, MASQUERADE, custom rules, and basic filtering. Those rule sets work just fine. It's only TEE I'm having rouble with.
Google searchs show other people having the same issue, but no answers to their posts.
Signature · 5 lines
Stephen L Johnson <[email protected]> Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339
Quoted 1 line
Greeting,
Hi,
Quoted 4 lines
I trying to use the TEE target but I keep getting the errors even using the example commandi on the
ipxt_TEEman page.
I'm current using iptables-1.4.10 that I've compiled and installed on the server. The linux kernel is 2.6.32.
Try installing xtables-addons:
http://xtables-addons.sourceforge.net/
It contains TEE module.
best regards,
Marek Kierdelewicz
Quoted 9 lines · Marek Kierdelewicz
Quoted 1 line
Greeting,
Hi,
Quoted 4 lines
I trying to use the TEE target but I keep getting the errors even using the example commandi on the
ipxt_TEEman page.
I'm current using iptables-1.4.10 that I've compiled and installed on the server. The linux kernel is 2.6.32.
Quoted 7 lines
Try installing xtables-addons:
http://xtables-addons.sourceforge.net/It contains TEE module.
best regards,
Marek Kierdelewicz
What does the xtables-addons have to do with it? Iptables 1.4.10 has the TEE target already.
iptables -t mangle -A PREROUTING -i eth0 -j TEE --help iptables v1.4.10
Usage: iptables -[AD] chain rule-specification [options]
...
TEE target options:
--gateway IPADDR Route packet via the gateway given by
address
--oif NAME Include oif in route calculation
When I try to use the TEE target I get the error.
iptables: No chain/target/match by that name.
Signature · 5 lines
Stephen L Johnson <[email protected]> Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339
Hi,
Quoted 2 lines
What does the xtables-addons have to do with it? Iptables 1.4.10 has the TEE target already.
It has userland iptables plugin. You're still missing kernel module. Try doing:
modprobe xt_DNETMAP
and
lsmod|grep _TEE
Best regards,
Marek Kierdelewicz
Correction:
modprobe xt_TEE
and
lsmod|grep _TEE
Best regards,
Marek Kierdelewicz
Quoted 11 lines · Marek Kierdelewicz
Hi,
Quoted 2 lines
What does the xtables-addons have to do with it? Iptables 1.4.10 has the TEE target already.
It has userland iptables plugin. You're still missing kernel module. Try doing:
modprobe
xt_DNETMAP
and
lsmod|grep_TEE
Ah. That was it. I thought the iptables TEE modules was the kernel module. My mistake. Sorry for the confusion. Everything is now compile and install. And my rules are working.
Thanks
Signature · 5 lines
Stephen L Johnson <[email protected]> Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339