[Users] Can We Use the Stun server for NAT supporting,

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Nov 16 17:33:47 CET 2006


Hello,

On 11/15/06 14:08, raviprakash sunkara wrote:
> Hello Daniel
> Thanks for reply me...
>
> if U keep My Sip Server direct from  Modem( ISP )  to System , Its 
> working fine,
> But problem is when keep My sip Server Behind the Router/Firewall it 
> not working, UAC's behind the NAT is not Hungup and  Audio is Fine at 
> end points...
> Help me ............
check what happens on the firewall/nat, if the messages are forwarded 
properly between public and private networks. ngrep or ethereal should 
help here ...

Cheers,
Daniel



>  
>
> On 11/15/06, *Daniel-Constantin Mierla* <daniel at voice-system.ro 
> <mailto:daniel at voice-system.ro>> wrote:
>
>     Hello,
>
>     stun is recommended when the client properly implements it and
>     does not
>     sit behind a symmetric NAT (like linux box). For these cases you
>     need to
>     use server side nat traversal, look at nathelper/rtpptoxy or
>     mediaproxy/mediaproxy.
>
>     Cheers,
>     Daniel
>
>
>     On 11/13/06 16:29, raviprakash sunkara wrote:
>     > Hello Users,
>     >
>     > Can I use the Stun server to Support  the NAT.
>     >
>     > I tried a lot , My UAC's are Not Hungupping  in Behind the
>     NAT/Router
>     >
>     > My SIP   ip  is 192.168.2.75 <http://192.168.2.75>
>     <http://192.168.2.75 >
>     > My Public IP is xx.xx.xx.xx
>     >
>     > I didn't get any Bye request to SIP server, except the Bye all the
>     > other Messages are Requested to MY SIP Server
>     >
>     > in openser.cfg
>     > i
>     > I'm using X-lites for testing in that
>     > RTP port 12222
>     > NAT firewall ip is 192.168.2.1 <http://192.168.2.1>
>     <http://192.168.2.1>
>     > Sip domain is xx.xx.xx.xx
>     > Sip proxy     xx.xx.xx.xx
>     > ______________________________________________
>     > modparam ("nathelper",rtpproxy_sock","udp: 192.168.2.75:12222
>     <http://192.168.2.75:12222>
>     > <http://192.168.2.75:12222>"
>     >
>     > if(nat_uac_test("19"))
>     > {
>     >             if(method=="REGISTER")
>     >            {
>     >                      fix_nated_register();
>     >                      force_rport();
>     >                       setflag(6);
>     >           } else
>     >            {
>     >
>     >                        if(method=="INVITE")
>     >                        {
>     >                          fix_nated_sdp("3")
>     >                       };
>     >                      fix_nated_contact();
>     >           };
>     >   };
>     > ______________________________________________
>     > --
>     > Thanks and Regards
>     > Ravi Prakash Sunkara
>     > ravi.sunkara at hyperion-tech.com
>     <mailto:ravi.sunkara at hyperion-tech.com>
>     <mailto:ravi.sunkara at hyperion-tech.com
>     <mailto:ravi.sunkara at hyperion-tech.com>>
>     > M:+91 9985077535
>     > O:+91 40 23114549
>     > F:+91 40 40208727
>     > ravi.sunkara at hyperion-tech.com
>     <mailto:ravi.sunkara at hyperion-tech.com> <mailto:
>     ravi.sunkara at hyperion-tech.com
>     <mailto:ravi.sunkara at hyperion-tech.com>>
>     > www.hyperion-tech.com <http://www.hyperion-tech.com>
>     <http://www.hyperion-tech.com>
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at openser.org <mailto:Users at openser.org>
>     > http://openser.org/cgi-bin/mailman/listinfo/users
>     >
>
>
>
>
> -- 
> Thanks and Regards
> Ravi Prakash Sunkara
> ravi.sunkara at hyperion-tech.com <mailto:ravi.sunkara at hyperion-tech.com>
> M:+91 9985077535
> O:+91 40 23114549
> F:+91 40 40208727
> ravi.sunkara at hyperion-tech.com <mailto:ravi.sunkara at hyperion-tech.com>
> www.hyperion-tech.com <http://www.hyperion-tech.com>




More information about the Users mailing list