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
  • 2,755
  • 6
  • 24
  • 35
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
  • 34,499
  • 3
  • 38
  • 58