Connectivity issues when connecting via internet (VPN)

Nextcloud version: 30.0.8
Talk Server version: 20.1.5
Custom Signaling server configured: yes unknown/go1.24.1
Custom TURN server configured: yes
Custom STUN server configured: yes

Hi, I am facing an issue using NextCloud Talk over the internet. I have setup 2 Virtual Machines:

  1. Runs NextCloud server.
  2. Runs High Performance Backend, TURN, and STUN servers.

When using Talk over the local network everything works fine. However, when connecting over the internet via a VPN connection to my local network I run into issues where I cannot hear other participants or see their screen shares.

My internet connection itself has plenty of bandwidth but definitely would appear to be a connection issue. How could I go about debugging/resolving this issue ? Thanks.

Is the HPB accessible from the internet on port 443, either through a separate reverse proxy or a proxy directive in the webserver config of the webserver serving Nextcloud, and have you forwarded port 3478 tcp and udp for STUN/TURN to the VM running the HPB?

Also make sure that all necessary ports are open in case there is a local firewall like UFW running on the OS where the HPB is installed.