Amazon Linux Fedora, traffic is not passing through mitmproxy

Hi guys,
I have installed mitmproxy 4.0.4 on Amazon Linux with Fedora using pip3:

NAME=“Amazon Linux AMI”
VERSION=“2017.09”
ID_LIKE=“rhel fedora”
VERSION_ID=“2017.09”

I can successfully start mitmproxy but I always see black screen. It doesn’t display any traffic that I generate
I tried to set routing packets redirect with:
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp -m multiport --dports 80,443 -j REDIRECT --to-port 8080
But whenever I request http://mitm.it I see:
If you can see this, traffic is not passing through mitmproxy
Can you, please, advise me something?

I can see smth like that below the mitm console