Hello all, I am having an issue with redirecting traffic for sslstrip using iptables, I have tried to use these commands:
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j REDIRECT --to-port 60000
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 60000
Which should redirect http traffic from port 80 to 60000, where I would have my sslstrip listening, however, nothing happens.
After applying the above rule I test using tcpdump -i wlan0 'port 60000' and no traffic is seen, while port 80 has traffic. I have tried flushing all tables (iptables -F, iptables -t nat -F) and running the above rules, to no avail. If anyone has any ideas any help would be appreciated.