I'm trying to duplicate packets from that are going to one IP on my network and send them to another IP. I have an ASUS router and I can terminal into it using Putty. I run the following commands and I receive error "iptables: No chain/target/match by that name." I've double-checked the IP addresses and they are correct. From what I've been able to gather, this should duplicate all packets from 192.168.128.40 and send them to 192.168.128.143.
Code:
iptables -t mangle -A PREROUTING -d 192.168.128.40 -j TEE --gateway 192.168.128.143
iptables -t mangle -A PREROUTING -s 192.168.128.40 -j TEE --gateway 192.168.128.143