PBX NEC Sv8100 nat 5060 port
Hello to all.
I have a PBX Sv8100 model nec with ip 10.46.36.240 behind a PfSense (10.46.36.251) and I would have to run it with some voip channels.
The PBX can make the outgoing calls without problems but when I call the incoming number the pfSense blocks the request from the VoIP operator.
After an in-depth analysis with the VOIP telephony operator (ip 18.104.22.168) and the NEC producer, they confirmed to me that the NEC control panel should receive voice requests only on port 5060.
The Nec 10.46.36.240 opens the connections on random ports and therefore has to create an outgoing rule to pass the requests to the ip 22.214.171.124 only from the 5060 port so that the operator response will return to port 5060 and then the incoming call will be established.
Honestly it is a configuration that I've never done, I usually make the rules of nat input and I would like your advice on how to solve this problem.
I must create an outbound nat rules that modify the ports from 10.46.36.240:XXXX in 10.46.36.240:5060 for all packages going to 126.96.36.199.
Is it possible?
I found the solution with this rules :