OpenVidu pro ports

Hello,
we have a problem in our institution, we can’t provide two ip to this system (one for OpenVidu Server Pro Node and one for Media Nodes).
So we want to know if we can use the same ip for both servers, with a port limitation for :
40000 - 50000 TCP+UDP : used by TURN server

50001 - 65535 TCP+UDP : used by Kurento Media Server to establish media connections.

Regards

Unfortunately this is out of hands of OpenVidu, but I can give you some tips:

Maybe you need to have some kind of Router which go out with the public IP you have and create some rules to redirect traffic from 40000-50000 to Turn Server (The same where OpenVidu is) and redirect the 50001-65535 to the Media Server. Some kind of Nat with an internet gateway.

Edit: But OpenVidu PRO is intended to work on an environment with at least two machines with public IPs independently.

Regards,
Carlos

Anyways, if someone wants to try OpenVidu PRO behind a NAT or with an unique IP using different machines or you want to change default ports used by OpenVidu PRO you just need to do this, but this is not battle tested and not recommend:

Change this in /opt/openvidu/docker-compose.yml:
image

Add these environment variables in /opt/openvidu/.env:
image