Issue with SIP client behind the pfsense
will_vsilva last edited by
I have a sip client registered on a public SIP server.
My SIP client is behind of a pfsense, when I make calls, they connect, but the audio connection isn't established.
I sniffed the traffic on a server and I noticed that the pfsense is sending the packet with the internal media IP.
Is it a NAT problem?
How can I fix it?
Thanks for your time.
GomezAddams last edited by
SIP isn't NAT friendly for just the reason you describe. There are a couple of ways to fix the problem.
1. Tell your sip client to send the IP address of pfsense's WAN interface. Asterisk can do this, but I don't know of any other sip software that can.
2. Tell your sip provider to configure your connection so that they ignore the ip address in the connection packet and instead use the actual source ip address of the connection.
3. Use STUN, which is an automated way of performing option 1 above.
chpalmer last edited by
4. use the siproxd package.