<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi!
<div><br /></div>
<div>I’m having strange issues on registering phones behind NAT on FreeSwitch.</div>
<div><br /></div>
<div>Schema is Phone (port 5063)  -> Router (NAT) (port 1023) -> Freeswitch</div>
<div><br /></div>
<div>Phone registering from port 5063. NAT is changing this port to 1023. Freeswitch receiving register message from port 1023, but still replying to port, that listed in Contact Header. So, Router can’t route this request back correctly.</div>
<div><br /></div>
<div>NDLB-force-rport and aggressive-nat-detection is enabled on internal profile. What I got, this issue is when router changes port to 1024 or lower. If port is higher that 1024, than it’s working ok.</div>
<div>Also this problem with UDP only, with TCP all is ok.</div>
<div><br /></div>
<div>Maybe I’m missing something in config?</div>
<div><br /></div>
<div>Thanks.</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
</body>
</html>