SO I found the issue was with modules not loaded properly and now it works fine,
HiI am trying to build tproxy support for haproxy on Ubuntu 10.04 LTS 64 bit server.The kernel has the tproxy support.config | grep -E '(NF_CONNTRACK=|TPROXY|XT_MATCH_SOCKET|XT_TARGET_TPROXY)'CONFIG_NF_CONNTRACK=mCONFIG_NETFILTER_TPROXY=mCONFIG_NETFILTER_XT_TARGET_TPROXY=mCONFIG_NETFILTER_XT_MATCH_SOCKET=mand the iptables version is 1.4.4Now when I execute the iptables ruleiptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERTiptables: No chain/target/match by that name.
I get this issue. Any thought or advice will be highly appreciated.regards