I have 2 EC2 instances - one in public subnet one in private.
I need both of them to access a service via public ip and port forwarding on Mako router.
Mako router port forwards port 552 to local 192.168.. ip
I set up firewall rules on Mako router that whitelists 2 public IPs - one of the EC2 instance in public subnet and NAT Gateway public IP (was also able to confirm it is the Internet ip from the instance in private subnet via dig myip.opendns.com @resolver1.opendns.com
curl from EC2 instance in public subnet works
curl from EC2 instance in private subnet doesn't
Endpoint I am hitting is rtsp://admin:password@123.123.123.123:552/Streaming/Channels/2
Any thoughts? What might be wrong? Advise on troubleshooting/mitigation?