Hello! Does anybody tried to work with IAX2 (client side - softphones) behind a NATs that always increment ports? At asterisk CLI I see: -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22269 -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22289 -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22351 And that clients expects problems, for example if they try to reconnect with softphone - they can't connect any more, and so on. Is there any workaround for such NATs (but we can't touch routers, only asterisk side or something). -- Best Regards, Alex
Eric Wieling aka ManxPower
2005-Apr-06 05:38 UTC
[Asterisk-Users] IAX2 and NATs that increment ports
CuPoTKa wrote:> Hello! > > Does anybody tried to work with IAX2 (client side - softphones) behind a > NATs that always increment ports? > At asterisk CLI I see: > -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22269 > -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22289 > -- Registered '12345' (AUTHENTICATED) at a.b.c.d:22351 > > And that clients expects problems, for example if they try to reconnect > with softphone - they can't connect any more, and so on. > > Is there any workaround for such NATs (but we can't touch routers, only > asterisk side or something).This is the way NAT works. It's not a problem for Asterisk unless you are doing something silly like port forwarding 4569/UDP on your NAT router. Asterisk doesn't CARE about the source port of the client.