[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Etoile =?iso-8859-15?q?Di=E8se?= <support@e...>
 Subject :  NAT support for SIP RTP
 Date :  Fri, 18 Aug 2006 19:23:17 +0200
Hello,

You gave recently an URL : http://freshmeat.net/articles/view/2079/ that 
explains how Yate can contact SIP phones inside a NATed network.
I use a Linux+iptables router. It does symetric NATing so the port given in 
SDP header is the same as the port really opened on the public interface of 
the router :

LAN 7080 <------> router 7080 <------> Yate

So no problem in this case. I forced the router to be non symetric by forcing 
a translation of all UDP port between 10000 and 20000 :

LAN 7080 <------> router 10001 <-------> Yate

But it does not work as you describe in the article. In fact, Yate seems to 
trust the port given in the SDP header instead of the origin port it 
detects :

LAN 7080 <------> router 10001 --------> Yate
                                          7080 <-------

and all the RTP packets from Yate to this external 7080 port which is closed 
are dropped by the firewall. This behavior is not what you describe in the 
article, why does it happen ?
Is there any configuration parameter I missed ?

Regards,
-- 
Support Etoile Dièse