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.
>
>
>
Received on Sat Jul 05 2014 - 07:47:54 MDT
This archive was generated by hypermail 2.2.0 : Sat Jul 05 2014 - 12:00:04 MDT