[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Redirect com iptables



 Olá lista 

 O que tem de errado na regra abaixo. Quando executo ela acontece o
seguinte:

iptables v1.2.6a: You must specify --to-destination
Try `iptables -h' or 'iptables --help' for more information.
bash: --to-destination: command not found




iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 80|
--to-destination 10.0.0.1:80




Reply to: