SIP device behind OpenWrt router/firewall

Ahoy friends.
I've moved to an OpenWRT device, and i'm extremely satisfied. There was no other choise for me, because i've got 2 WAN links, and i wanted to have load balancing using mwan3.
All the time before i have been using a Fritz! 7490 router also for my DECT devices. I got SIP numbers registered in there, and my Fritz! 7490 is now acting as an IP-Client. Unfortunately it's not possible to get the SIP phone numbers registered now, because of "DNS failure". According to the router's log.
How do i have to proceed in order to get SIP working behind the OpenWRT firewall? Is NAT the way i have to go? Or port forwardings? Thanks in advance!

Which ISP? I am an O2 customer in germany, and I had to resort configuring their DNS servers into my SIP basestation (a n old gigaset) as they round-robin the SIP-servers and only deliver their IP addresses directly from their DNS-servers... Security by obscurity newer gets old ,)
Maybe your ISP might be doing something similar and maybe you opted for a different DSNS source than your ISP?

2 Likes

I think that's the same problem i have. My ISP is NetCologne, and the SIP proxy sip.netcologne.de. But i'm not able to resolve it, using my default DNS, so i might use something else like you said.

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#selective_dns_forwarding

2 Likes

That is a better solution, than my forcing the SIP base to use the ISP's DNS servers as I now need to mind to different DNS configurations.

1 Like

Can't you resolve the SRV record?

_sip._udp.sip.netcologne.de. 3560 IN SRV 20 1 5060 voice1.netcologne.de.

And the A record?

voice1.netcologne.de. 3600 IN A 172.17.66.118

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.