Answer the question
In order to leave comments, you need to log in
How to properly configure Firewall and NAT so that Grandsteram UCM6104 IP PBX can work with external SIP trunks?
Hello.
There is automatic telephone exchange Grandstream UCM6104. I configured internal communication, I am confused to configure outgoing external communication.
In the future, the SIP telephony provider will be Beeline, which owns certain city numbers. While I'm trying to test everything on the Zadorma provider.
I create a Zadarama trunk in the PBX VoIP settings and configure the rules for its use for outgoing calls. When trying to dial a landline number from the office, the PBX shows in the status that the Zadarma trunk is in use, but the number is not actually connected. After a while (about 30-60 seconds) in the handset it is pronounced in a voice - All lines are busy. Perhaps the voice announces the ATS Grandstream. In the trunk settings, I check the "NAT" box - it does not help.
I suspect that this may be due to the Firewalla and NAT settings.
On the way out, all ports on our router are closed by default, but I allowed any outgoing connections from the internal IP address of the PBX. Those. the PBX itself can go online by connecting to any address and any port, and back, perhaps something is cut by the firewall. Tell me which ports to open for input and output. And what ports need to be forwarded to the IP address of the PBX.
Here is what Zadarma support replied:
Ports used (Must be open in the firewall for entry and exit)
For signaling traffic:
UDP 5060 Or TCP 5065
RTP ports for media traffic (Voice)
UDP 10000-20000
Answer the question
In order to leave comments, you need to log in
For those who will look for a solution in a similar situation.
Only one port, UPD 5060, needs to be forwarded to NAT.
In some cases, providers use TCP 5065 as an alternative.
The remaining ports (10000-20000) do not need to be forwarded. It is enough to open them in the firewall for entry and exit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question