Community discussions

 
shivansps
newbie
Topic Author
Posts: 32
Joined: Fri Sep 22, 2017 1:18 am

VOIP/UDP connections failling to terminate after wan failover

Thu Oct 10, 2019 8:51 pm

Im using advanced 2 wan failover as showed in this example https://wiki.mikrotik.com/wiki/Advanced ... _Scripting

But im having a severe issue, if the WAN1 goes down, it switchs to WAN2, thats OK, but after doing that all UDP connections that were trought WAN1 fail to close, this means, external sip phone cant re-register after DNS update, my VOIP box running Freepbx is also unable to re-register the trunk, and this will stay like this even if WAN1 comes back online.

There are two manual fixes for, i either reboot the router or manually terminate all UDP connections in connection tracking.

Any idea of what is going on here?
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1435
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: VOIP/UDP connections failling to terminate after wan failover

Thu Oct 10, 2019 10:40 pm

Topic below might give you more insight

viewtopic.php?t=129048
MTCNA, MTCTCE, MTCRE & MTCINE
 
shivansps
newbie
Topic Author
Posts: 32
Joined: Fri Sep 22, 2017 1:18 am

Re: VOIP/UDP connections failling to terminate after wan failover

Mon Oct 14, 2019 6:06 pm

So i have to have a script runing very minute to check if the gateway has changed to remove ALL UDP connections? And this is not considered a bug? wha...?

Ok i got the script up and running, it works, but why?... im using masquerade why on earth i need to do this with a script? It should be auto clearing the connections on gateway going down. Or this caused by using recursive routing for advanced failover? in souch case i would consider it a bug regardless.

And it seems to ONLY affect UDP, as my SSTP VPNs do re-connect whiout having to go and kill TCP connections.

Who is online

Users browsing this forum: No registered users and 68 guests