OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: cgchris99 on July 05, 2024, 04:26:34 PM

Title: Can't get VOIP traffic to be allowed.
Post by: cgchris99 on July 05, 2024, 04:26:34 PM
I'm trying to setup a Freepbx VOIP system. It will work fine depending on what ports are randomly selected. If the traffic occurs on port between 5000-20000 it seems fine. Anything above that doesn't work and gets blocked.
I have created a port forward rule to allow incoming traffic from the voip.ms server on all ports 10000-65535 UDP yet it still gets blocked.

see attached screenshot of  rules and log.
Title: Re: Can't get VOIP traffic to be allowed.
Post by: lfirewall1243 on July 10, 2024, 02:05:10 PM
When it is still not working. Some hints:


When you use voip.ms just as a SIP Trunk, you don't need to do a Port forwarding.
Just register the FreePBX online and allow the outgoing connections to voip.ms on your OPNsense <-> FreePBX Interface.
If not working then, i think your issue is in your FreePBX config, not OPNsense...
Basically the FreePBX is acting like a normal SIP Client, you need to forward ports, when you want to register devices from the internet to your FreePBX (like a SMartphone or so), or do it via VPN - but thats another topic.