0

I am getting this error while trying to do SSL-striping:

iptables: No chain/target/match by that name

While running command:

iptables -t nat -A -PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080

in Kali Linux.

Paul
  • 3,037
  • 6
  • 27
  • 40
1-13x
  • 1

1 Answers1

3

You have one extra dash in your command. The correct command is:

iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
Tero Kilkanen
  • 36,796
  • 3
  • 41
  • 63