Remote Gateway IP

Is there a way to get the Remote Gateway IP from the Remote Connections tab from the gateway in a python script? I am wanting to write dynamic API calls, and the self reported IP from the edge gateway is going to be incorrect since we are using port forwarding, and I need the IP of the firewall. Is there any clear way to do this?

Try configuring the Public Address field (Web Server Settings docs 8.1 or 8.3) within the Edge Gateway Configuration webpage under Web Server settings. This should help with the address reported to any connected clients.