I am trying to set up mitmproxy on my Windows 10 to capture traffic from my Android phone.
I am following this tutorial, but I am having trouble finding the corresponding commands in Windows for these Linux commands
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080
Any idea how to do that?