Morning all,
I’m struggling to trace the fault for this scenario and would appreciate some guidance. I’ve found some references on this forum, but have not stumbled upon the fix (yet).
SMS messages (iphone to android, ie not imessage) used to work, and if I had to guess it would be around the v6 to v7 upgrade (some months ago). After a while I eventually realised that the intermittent issue was a wifi-calling message issue. If we turn off wifi, or wifi-calling, the message sends ok. Weirdly receiving messages is ok, sending will fail, and will typically fail up until you turn off wifi-calling. And when that single send-message fails, you may get lucky and be able to send a second message and it goes through ok. Weird.
What I have tried
1/ factory reset the hAP ac^2 and try the bare minimum of customisation
- this generally improved things as I think my paranoid firewall rules where blocking the “unrelated source” connections from one of the *.3gppnetwork.org addresses for my carrier
2/ confirmed that I can see udp500 nat sessions being established to the carrier
3/ put a blanket ipsec-esp, udp500/4500 allow rule at the top of the firewall stack
4/ move my dns from opendns back to my isp’s
5/ removed my dns nat rule redirecting non-standard dns servers to my home dns server
6/ echo’ed to the log any firewall drops
7/ taken wireshark traces and filtered against esp or
8/ deleted every firewall/nat rule (except for nat masquerade)
and lastly
9/ a different non-mikrotik wifi (and sms’s flow perfectly)
For (6) I’m not any seeing any esp drops from unknown sources
For (7) I’m not any dns/esp failures in the trace for the iphone
What I’m finding is my experience is better, but remains inconsistent. I can send a bunch of messages ok, go away for a 5 minutes, try again and it fails. The only pattern I can find is the iphone seems to timeout (the time is inconsistent) and for that message it cannot re-establish its esp tunnel (I’m guessing that’s the fault). On the phone UI when you retry sending you will see one of two scenarios
a/ after about 5sec a “progress bar” appears at the top, slows down at 90%, and at about the 10sec mark it then fails
b/ the retry fails nearly immediately
It feels like the iphone is being blocked from re-establishing a esp session, or an inbound esp session is being blocked by the firewall. But I’m struggling trace the fault and find the smoking-gun bit of evidence that leads me to the fault.
I’m hoping someone says “you overlooked xyz”, and like magic it works. (yes I’m optimistic).
ta, Jeff