[tproxy] Tproxy with 2.6.15.2 --on-port-80 error

Sunil K.P. sunil at hyperia.com
Mon Aug 7 14:20:08 CEST 2006


Hi,

I have installed Tproxy patch on Fedora core 2.6.15.2 kernel.

In lsmod I can see the following.
ipt_TPROXY              2432  0
ipt_tproxy              2048  0
ipt_REDIRECT            2560  1
ip_conntrack_netbios_ns     3328  0
iptable_nat             7812  1
ip_nat                 23340  2 ipt_REDIRECT,iptable_nat
iptable_mangle          3200  0
ipt_REJECT              5760  1
ipt_state               2432  4
ip_conntrack           51416  4 
ip_conntrack_netbios_ns,iptable_nat,ip_nat,ipt_state
nfnetlink               6808  2 ip_nat,ip_conntrack
iptable_filter          3328  1
ip_tables              19840  8 
ipt_TPROXY,ipt_tproxy,ipt_REDIRECT,iptable_nat,iptable_mangle,ipt_REJECT,ipt_state,iptable_filter

But when I try to put the redirection it gives the following error
[root at cache netfilter]# iptables -t tproxy -A PREROUTING -i eth0 -p tcp 
-m tcp --dport 80 -j TPROXY --on-port 80
iptables v1.3.5: Unknown arg `--on-port'

Pls. suggest.

Regards
Sunny


More information about the tproxy mailing list