you are doing nat... try to see it from iptables point of view: "iptables -L" .. it will not show PREROUTING. You need to use the table "nat" and not the default "filter"iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3127
Good Luck On 07/05/2014 10:40 AM, Mark jensen wrote:
for: iptables -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3127 iptables return this error: iptables: No chain/target/match by thr name.