# Configure Port Ranges

To update the port settings:

1. On the MBG main page, click the Network tab and click Port ranges.

2. Edit settings as required and click Save.

Note:

- The number of supported calls is shown for each range. Changing the Start and End values will update the number displayed.

- The minimum usable port for any range is 10000.

- Ensure none of the ranges overlap.

Service | Description | Values
--- | --- | ---
MiNet and SIP port ranges
Field names: MiNet and SIP audio starting port MiNet and SIP Audio ending port MiNet and SIP video starting port MiNet and SIP Video ending port | Use the screen tools to set the range of ports available for use by MiNET and SIP calls. Use the following guidelines to calculate how many ports you require for MiNET and SIP calls: For a typical MiNET call with audio, four UDP ports are required: two for audio and two for RTCP voice. As a rule of thumb, we recommend that you open a number of ports equivalent to four times the number of devices in your system. For example, if you have 2499 devices (4 x 2499 = 9996), open 9996 ports (from the starting port of 20002 to the ending port of 29999). For a typical SIP call with voice and video, eight UDP ports are required: two for audio and two for RTCP voice plus two for video and two for RTCP video. Port allocation can become more complex depending on the device type. For example, a two-line SIP device will have zero, two, or four ports allocated at any given time. A 24-port ATA device could have any multiple of two between zero and 48. A general guideline is to allow two times the number of ports or lines that the device supports. | Defaults: MiNet & SIP audio starting port is 20002 MiNet & SIP audio ending port is 29999 MiNet & SIP video starting port is 30000 MiNet & SIP video ending port is 30999
Web RTC port ranges
Field names: WebRTC public starting port WebRTC public ending port WebRTC private starting port WebRTC private ending port | Use the screen tools to set the range of ports available for use by WebRTC on the public (external) and private (internal) interfaces of MBG. By default, ports 32000 to 32500 are assigned to the public interface, and ports 33000 to 33500 are assigned to the private interface. Use the following guidelines to calculate how many ports you require for WebRTC calls: For a typical WebRTC call, four UDP ports are required: (1 x audio port + 1 x video port) x 2 media engines. Accordingly, we recommend that you open a number of ports equivalent to four times the maximum number of WebRTC calls that your system will host. For example, if you anticipate a maximum of 125 calls (4 x 125 = 500), open 500 ports (from the starting port of 32000 to the ending port of 32500). | Defaults: Private starting port is 33000 Private ending port is 33500 Public starting port is 32000 Public ending port is 32500
Call Recording port ranges
Field names: Call Recording starting port Call Recording ending port | Use the screen tools to set the range of ports available for use by the secure Recording Connector (SRC) on MBG. | Defaults: Starting port is 35000 Ending port is 35999