I have been practising how to do the evil twin attack and everything has been going the way its supposed to except the fact that when a user connects to my evil twin they are not redirected to the phishing site that I have created.
I running kali linux as my primary os and I put the phishing site in /var/www/.
I have used iptables to redirect the traffic but it still isn't redirecting.
The code I typed for redirecting is:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination <my Ip Address>:80
iptables -t nat -A POSTROUTING -j MASQUERADE
If anyone knows the issue your help will be much appreciated.