[OpenSIPS-Users] udp or tcp for nat traversal?

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Oct 14 18:22:46 CEST 2014


Hi George,

NAT traversal is not only about pinging, but also about 
mangling/correcting the SIP traffic (from private IPs perspective) and 
ensuring the RTP flow.

So you need to be sure that all 3 points are addressed.

TCP versus UDP - there is only a difference at IP transport level...like 
datagram versus connection, and their implications at NAT level (being 
able to reach the device behind the nat). Otherwise it;s the same.

For UDP, can you see what fails ? the registration? reaching the UAC ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 14.10.2014 18:37, george wu wrote:
> My experience is for two uac (linphone) behind a firewall,
> tcp/tls will always work.
> udp will never work.
>
> for both tcp/udp, my uac will send keep alive every 10 seconds.
> I don't understand what makes those difference.
> Can any one  share your experience?
>
> George Wu
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141014/a8747b1b/attachment.htm>


More information about the Users mailing list