[Serusers] NAT troubles

E. Versaevel erik at infopact.nl
Fri Nov 26 12:17:27 CET 2004


Both the mediaproxy and the Nathelper module seem to act like this, so I'm
thinking it's a config error, but I can't find it.

Erik

-----Oorspronkelijk bericht-----
Van: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] Namens
E. Versaevel
Verzonden: vrijdag 26 november 2004 9:57
Aan: 'Andrei Pelinescu-Onciul'
CC: serusers at lists.iptel.org
Onderwerp: RE: [Serusers] NAT troubles

The only thing you would see in the packet dump is:

Id	Src ip		Dst ip		Content
1	212.X.X.X.X		ser.box		REGISTER sip:mydomain.com
2	ser.box		192.168.0.64	SIP:401 Unauthorized
3	212.X.X.X.X		ser.box		REGISTER sip:mydomain.com
4	ser.box		192.168.0.64	SIP:401 Unauthorized
5	212.X.X.X.X		ser.box		REGISTER sip:mydomain.com
6	ser.box		192.168.0.64	SIP:401 Unauthorized


It seems that the www_challenge is sending the 401 to the internal IP,
however I can see that fix_nated_contact() is called before the
www_challenge in the routing script.

Kind regards,

E. Versaevel
 
-----Oorspronkelijk bericht-----
Van: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul at fokus.fraunhofer.de] 
Verzonden: donderdag 25 november 2004 19:43
Aan: E. Versaevel
CC: serusers at lists.iptel.org
Onderwerp: Re: [Serusers] NAT troubles

On Nov 25, 2004 at 16:20, E. Versaevel <erik at infopact.nl> wrote:
> It's my turn for nat troubles now ;)
> I've looked at the examples for nat helper and am trying to setup a rtp
> proxy (which I eventually want to be able to scale/get off the ser host). 
> However, I'm using the attached setup (cut the used parts) but when my
> client tries to Register, the ser box sends back the reply to the internal
> IP of my UA?
> So ser receives a REGISTER message via 1.2.3.4 and replies to 192.168.0.x
?

Please send a packet dump.

Andrei

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list