FreePBX behind double NAT

Hi guys,

Currently I just setup freepbx behind double NAT (2 Mikrotik routers).
I registered extention 103 from Internet to 10.10.20.20 to access FreePBX server.
I can make call to all extension, but can’t hear any sound from both side.

Please help???

Internet
||
|| WAN1 (Public IP 10.10.20.20)
Mikrotik Router1
|| LAN1 (192.168.1.1/24)
||
|| WAN2 (192.168.1.2/24)
Mikrotik Router2
|| LAN2 (192.168.100.1/24)
||
||
FreePBX Server (192.168.100.10/24)
||
/
IPphone1(Extenstion 100)(192.168.100.11/24)
IPphone2(Extenstion 101)(192.168.100.12/24)

  • In router1, I did NAT UDP port 5060-5082 and 1000-2000 to 192.168.1.2
  • In router2, I did NAT UDP port 5060-5082 and 1000-2000 to 192.168.100.10
  • Ext 100 and 101 can be communicated as normal

In sip_nat.conf

nat=yes
externip=10.10.20.20
localnet=192.168.100.0/255.255.255.0
externrefresh=10

Thank you for your comment.
I’ll try to change freepbx under only NAT.

Behind double NAT?? No not possible without VPN.

Use VPN or IAX protocol.

Is there any possible way to make SIP work?
Any idea please?

You will never get SIP to work through two NAT transitions. You IAX instead. It survives NAT much better.