Community discussions

MikroTik App
 
davidm85
just joined
Topic Author
Posts: 4
Joined: Thu Feb 01, 2018 11:50 am

hex router and 3cx

Thu Feb 01, 2018 12:12 pm

Hi,

I have a problem with my network.

I've installed a hex router and configured it with the 3CX settings.3cx is installed on a new windows 10 pro install.

when we take a look at the packages, it seems that the packages are in some kind of loop.

Does anymone has an idea what can be wrong?

here is conversation I had with the support of 3CX

After taking a closer look at the new set of files you have sent me i can see something very weird going on. The DNS for Weepee is resolving correctly to IP 91.208.12.131 and the first REGISTER packet is sent to that destination. But then the same packet returns to the PBX from the MAC address the packet was sent to.

This is the first register message. You can see the packet leaving from IP address 192.168.0.200 which is Dell_e1:e8:10 (your PBX network card as i can see from the files) towards the destination 91.208.12.131 which goes through Routerbo_09:fc:78 (i presume this is the mikrotik).
2018-01-31_17h21_06.png
The next packet is the same packet coming back to the Mac address of the PBX from the mac address of the mikrotik as you can see in the screenshot below. Essentially the packets are in a loop and not reaching the provider. For some reason the Source IP and the destination IP are the same but you can differentiate the sender from the source mac address. And the same procedures continues with the rest of the register messages.
2018-01-31_17h21_15.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
16again
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Fri Dec 29, 2017 12:23 pm

Re: hex router and 3cx

Thu Feb 01, 2018 11:28 pm

Hard to tell without seeing config.
Seems like you have a dNAT rule in place , that maps all traffic destined to udp port 5060 to 192.168.0.200.....but this rule is active for traffic entering LAN interface too !
 
davidm85
just joined
Topic Author
Posts: 4
Joined: Thu Feb 01, 2018 11:50 am

Re: hex router and 3cx

Fri Feb 02, 2018 11:40 am

Hi, what kind of config do you want to see?

here is a screenshot from 'filter rules' and 'NAT'
filter rules.PNG
nat.PNG
You do not have the required permissions to view the files attached to this post.
 
davidm85
just joined
Topic Author
Posts: 4
Joined: Thu Feb 01, 2018 11:50 am

Re: hex router and 3cx

Fri Feb 02, 2018 12:24 pm

The strange thing I notice is when I disable the 5060-udp port,
my sip trunk is connected and works (except port 5060)
 
User avatar
16again
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Fri Dec 29, 2017 12:23 pm

Re: hex router and 3cx

Fri Feb 02, 2018 2:23 pm

On dNAT rules, set incoming interface=WAN interface
 
davidm85
just joined
Topic Author
Posts: 4
Joined: Thu Feb 01, 2018 11:50 am

Re: hex router and 3cx

Mon Feb 05, 2018 10:21 am

@16again this did the Trick, everything works fine now.

Thanks a lot!!!
 
petertosh
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Wed Mar 21, 2018 9:42 am

Re: hex router and 3cx

Thu Jan 17, 2019 1:03 pm

@16again - thank you sir! I couldn't find out what's going wrong for days until I found your answer. Thank's a lot!
 
shafiqrahman
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Apr 12, 2017 1:42 am

Re: hex router and 3cx

Sun Aug 01, 2021 9:48 am

incoming interface=WAN interface in NAT rules? Which one 3cx UDP & TCP ?

Who is online

Users browsing this forum: 4l4R1, Bing [Bot], iustin, kivimart, lurker888, NetHorror, smirgo and 92 guests