Problem While Changing Media IP Address

Hello,

I’m working with a Janus server (local server without a public IP address) to facilitate SIP calls behind a NAT. I’m also using a separate web server as the frontend with the SIP gateway demo.

I believe I may have made a configuration error, but I’m unsure where the issue lies.

Currently, the SIP gateway demo only functions correctly when I connect to a VPN on the server hosting Janus. While everything works seamlessly with the VPN, the problem is that requests are being sent to the server’s private address (192.168.104.17). I’d like to modify this behavior to send requests to a public address that can then redirect them to the private server.

For reference, I’ve included the output from my browser’s about:webrtc page.

Can you advise on how I can achieve this redirection and configure Janus to send requests to the public address instead of the private one?

Thank you in advance for your assistance.