Port forwarding and firewall settings for VoIP
Important — most hosted phones do not need port forwarding.
A handset that registers to the hosted platform makes an outbound connection and keeps it alive, so no inbound port forwarding is normally required. If calls work, do not open ports just in case — unnecessary open ports reduce security.
When port forwarding IS needed
Port forwarding is only needed for an on-premise PBX that must receive inbound traffic, or for a remote phone registering to your own PBX. In that case forward the following to the LAN IP of the PBX:
| Protocol | Ports | Purpose |
|---|---|---|
| UDP/TCP | 5060 | SIP signalling |
| UDP | 10000–20000 (or your configured RTP range) | Audio (RTP) |
Security warning
Do not expose SIP (5060) or the RTP range to the whole internet unless the firewall or PBX filters by the platform IP addresses. Open SIP ports are constantly scanned and attacked. Where possible, restrict the forwarding rule to the platform IP ranges (ask support for the current list).
General router settings for reliable VoIP
- Disable SIP ALG.
- Disable SPI firewall on routers where it interferes with SIP.
- Keep the router firmware up to date.
- Enable QoS so voice traffic is prioritised.
- Use a wired connection for phones where possible.
If you need help configuring a specific router or firewall, raise a ticket with the make and model.