Modifying RTP/WebRTC ports

Status
Not open for further replies.

IngiThor

Silver Partner
Joined
Jul 1, 2021
Messages
4
Reaction score
0
Good day,

I'm running multiple own-hosted/on-prem 3CX servers behind a Firewall and NAT.
Most of those servers share an external IP address and have different port ranges for their SIP and tunnel traffic.
Only a few of them require the webclient so I've been attempting to forward the WebRTC ports for those as well.

No matter what I do I can not get audio to work when the assigned RTP/WebRTC port range is outside the default 9000-10999.
The intent is to use ranges outside the default as to not pick up any unintended RTP traffic from the other servers that don't use their Webclient.

Below are the steps describing the issue:
Code:
1. Set WEBRTC_WRTC_FIRST_PORT parameter to 10750
2. Set WEBRTC_WRTC_LAST_PORT parameter to 10840
3. Set 3cxmediaserver.ini parameters FEP and LEP to 10850 - 10999
4. Forward port range 10750 - 10999 in NAT & Firewall
5. Restart MediaServer and ManagementConsole service
Call from the webclient to *777, audio works both ways.
Run netstat on the server to confirm:
Ports 10750 and 10751 are active for the ManagementConsole service
Ports 10850 and 10851 are active for the MediaServer service.


1. Set WEBRTC_WRTC_FIRST_PORT parameter to 11000
2. Set WEBRTC_WRTC_LAST_PORT parameter to 11040
3. Set 3cxmediaserver.ini parameters FEP and LEP to 11050 - 11100
4. Forward port range 11000 - 11100 in NAT & Firewall
5. Restart MediaServer and ManagementConsole service
Call from the webclient to *777, no audio. Call other external test services, no audio.
Run netstat on the server to confirm:
Ports 11000 and 11001 are active for the ManagementConsole service
Ports 11050 and 11051 are active for the MediaServer service.

I've attempted this with numerous other port ranges outside the default range to no success.
Tried the FIRSTEXTPORT and LASTEXTPORT as well but they didn't seem to affect anything.

Is there any other known parameter, service or mapping that is limiting the external RTP ports to 9000-10999?
Or something else that I'm missing?
 
Did you open the ports in nftables?
 
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,078
Members
164,896
Latest member
sameage