Community discussions

MikroTik App
 
peterpan
just joined
Topic Author
Posts: 3
Joined: Mon Jul 11, 2016 8:30 pm

Please help with SIP & double NAT

Mon Jul 11, 2016 8:45 pm

Hi there,

I have the following setup: RB951Ui-2nD in a standard config + LTE modem Huawei E3372. This is so called HiLink version which means it has it's own router with NAT inside with no ways to configure DMZ or whatever. RB gets a private address say 192.168.8.2 and makes a NAT for WiFi & Eth with 192.168.88.0/24.

Due to double NAT there is no way to connect a VoIP adapter or even a SIP client on any android phone connected to the WiFi.
Tried the following:
 - SIP helper (ALG) on / off in IP->Firewall. With OFF doesn't even register. With ON registers, but can't make a call or can't disconnect a call made (wtf!)
 - STUN or "keepalive" method selected in the gateway. Doesn't register with STUN, with "keepalive" - as above, registers but can't talk

Now the idea is to either:
1. Make a RB only act as a bridge so only the LTE modem would do the DHCP, NAT etc. But this is an "ugly" solution and I'd rather avoid it. (Btw. tried switching to bridge but didn't work at all, not sure what I did wrong)
2. Exclude one Ethernet port from the predefined bridge (the one for VoIP gateway), and bridge it with LTE interface so it would talk to the modem directly and would get a separate IP address, say 192.168.8.3 (just next to RB's WAN) straight from the modem and all the routing would skip RB's NAT. Do you think it would work and could you give me a step-by-step setup guide?
... or any other idea?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: Please help with SIP & double NAT

Mon Jul 11, 2016 11:23 pm

Make a VPN from your MikroTik to another system that is on internet without NAT.
 
peterpan
just joined
Topic Author
Posts: 3
Joined: Mon Jul 11, 2016 8:30 pm

Re: Please help with SIP & double NAT

Mon Jul 11, 2016 11:29 pm

Though about that, but I'd have to buy a dedicated paid VPN service and also the ping (delay) would increase...
Thanks anyway.
What about making one ethernet port transparent as I mentioned? Any idea how to set it up?
 
User avatar
pennytone
just joined
Posts: 21
Joined: Wed Oct 09, 2013 10:50 pm
Location: USA

Re: Please help with SIP & double NAT

Tue May 30, 2017 8:34 pm

I just gave a presentation on SIP ALG at the Mikrotik MUM in Denver Colorado 2017 explaining everything about SIP ALG in RouterOS
watch here:
https://youtu.be/tM7wyKdnIKA
 
haik01
Member
Member
Posts: 404
Joined: Sat Mar 23, 2013 10:25 am
Location: Netherlands

Re: Please help with SIP & double NAT

Fri Jun 02, 2017 10:17 pm

I would suggest option 2. Make a separate port (you can even use VLAN's) so the DHCP from the Huawei modem will reach your VOIP adapter.
 
peterpan
just joined
Topic Author
Posts: 3
Joined: Mon Jul 11, 2016 8:30 pm

Re: Please help with SIP & double NAT

Sat Jun 03, 2017 12:29 am

How to do that? I realized that it's imposible to bridge LTE interface with anything else - a software limitation.

Who is online

Users browsing this forum: Bing [Bot] and 61 guests