[OpenSIPS-Users] NAT issues on client and server

Stefano Pisani stefano.pisani at omnianet.it
Fri Jan 4 08:09:40 CET 2013


Could you explaint your scenario better?
The server is in a private network?
The cliets are in different private networks?

s

Il 04/01/2013 05:23, Mark Currie ha scritto:
>
> Thanks for the advice Flavio.
>
> Currently I am actually pretty close with my NAT'ed OpenSIPS and 
> NAT'ed clients. I am assuming this is because I have a simple NAT 
> scenario with full-cone NATs.
>
> I get as far as making a call, but when I pick-up the call only one 
> side gets RTP through. I traced the problem to the fact that a local 
> address is being put in the "Record Route" section of an ACK response.
>
> I would like to try to get this more controllable scenario working 
> first before I launch into new complexity with RTP proxies etc. I 
> think that I just need to know how to get the fix_nat_sip() and 
> fix_nat_contact() to work. Any pointers with that?
>
> Regards
>
> Mark
>
> *From:*users-bounces at lists.opensips.org 
> [mailto:users-bounces at lists.opensips.org] *On Behalf Of *Flavio Goncalves
> *Sent:* 03 January 2013 12:27
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] NAT issues on client and server
>
> Hi Mark,
>
> There is no simple way to traverse NAT. Unless all your routers use a 
> non symmetric NAT, you will have to use rtpproxy or mediaproxy (you 
> can check this with a stun client). OpenSIPS behind NAT make things 
> even more complicated. So I suggest that you follow an example with 
> rtpproxy or media proxy and also use the OpenSIPS in a valid IP 
> address. The setup you are trying to do with OpenSIPS behind NAT is 
> possible, but it is even more complex.
>
>
> Flavio E. Goncalves
>
> 2013/1/3 Mark Currie <mark at ziliant.com <mailto:mark at ziliant.com>>
>
> Hi,
>
> I have a very simple setup for a closed network of users (all NAT'ed) with
> one OpenSIPS server (also NAT'ed).
>
> I have managed to solve my first problem with registration by following
> previous posts and using fix_nat_register(), but I am still having 
> problems
> with NAT issues during a call. I know that I probably need to use
> fix_nat_contact() and fix_nat_sip() but I can't figure out how to use 
> these
> properly through the documentation.
>
> I have tried to search for examples of opensips.cfg that suit my scenario
> but all the ones I found are complicated with proxies etc. Can someone 
> point
> me to simple example of opensips.cfg that takes care of NAT?
>
> Regards
> Mark Currie
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20130104/f4fa1147/attachment-0001.htm>


More information about the Users mailing list