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”
ID_LIKE=“rhel fedora”

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 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