I'm at a loss on this one. I am trying to forward traffic to my pi located beneath two routers.
My network is structured like this:
Public IP 56.xx.xx.xx
router 1 (LAN Range 192.168.0.1-255)
router 2 (DHCP reservation at 192.168.0.100) (LAN Range 10.0.0.1-255)
pi (static 10.0.0.100 tried apache, flask, python server on port 80)
I am certain that port forwarding is working. I was able to successfully forward traffic to my pc hosting an IIS site and also a mac hosting node http server but as soon as I try forwarding traffic to my pi I cannot see the site. I get a connection timeout. I flushed iptables so firewall shouldn't be a problem and to make things even more confusing, I am able to contact the pi via direct local IP address in a browser or even using my local network's DNS name from the pc and mac located on the 10. network.
Could there be any firewall or traffic rules that I am missing even after running
sudo iptables -F?