Hi,
if I'm setting the HTTP-Proxy in my iPhone's WLAN-Settings to the IP and Port of my Charles-Proxy, everything works as expected and I can see the traffic of my e-banking app.
But with the following script on my Kali-Linux I get an SSL-error:
Code:
#!/bin/bash
iptables -t nat --flush
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 10.0.0.11:8888
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 10.0.0.11:8888
iptables -t nat -A POSTROUTING -j MASQUERADE
arpspoof -i wlan0 -t [IP-OF-IPHONE] [IP-OF-GATEWAY]
arpspoof -i wlan0 -t [IP-OF-GATEWAY] [IP-OF-KALI]
What am I missing? Shouldn't it be possible to achieve the exact same behavior?
Thanks a lot!