linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Linphone-users] Linphone and hardware routers (NAT for ADSL)


From: Daniel Schregenberger
Subject: RE: [Linphone-users] Linphone and hardware routers (NAT for ADSL)
Date: Tue, 16 Dec 2003 20:35:24 +0100

Thanks for your answer!
I did not knew about STUN. I googled a bit and if I got it right I
simply need to use a STUN server, but I'm not sure how to use it. All I
found was related to some proprietary software.
I guess I need to enter it as an outbound proxy, right?
Do you have any links for me, where to get more information about that?
If not I'll just have to google some more.

Thanks for your help!

-- Daniel


On Mon, 2003-12-15 at 10:24, address@hidden wrote:
> NAT is transparent - but SIP (application layer) + NAT is not transparent. 
> The SDP body will still contain the private address. A possible solution is 
> to use STUN. There are other solutions as well.
> 
> Dhiraj
> 
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> Behalf Of Daniel Schregenberger
> Sent: 14 December 2003 15:57
> To: address@hidden
> Subject: [Linphone-users] Linphone and hardware routers (NAT for ADSL)
> 
> 
> Hello!
> 
> I have a question regarding linphone and ADSL connections. A friend of
> mine has ADSL and therefore a router (harwdare). He forwarded the ports
> 5060 and 7078 from the router to his computer.
> Now we tried to talk: the connection is established, I can hear him, but
> he cannot hear me. I analyzed the traffic and I wonder why my linphone
> knows about his private IP. I mean NAT should be a transparent thing,
> not to be recognized from outside...
> 
> Here's a part of my firewall log: (I used this to see what traffic goes
> out, it's not blocked)
> 
> ----- FIREWALL OUTPUT ----
> VoIP: IN=eth1 OUT= SRC=62.203.248.134 DST=217.162.222.91 LEN=60 TOS=0x00
> PREC=0x00 TTL=52 ID=18101 DF PROTO=UDP SPT=11691 DPT=7078 LEN=40 
> VoIP: IN= OUT=eth1 SRC=217.162.222.91 DST=10.0.0.4 LEN=102 TOS=0x00
> PREC=0x00 TTL=64 ID=53309 DF PROTO=UDP SPT=7080 DPT=7078 LEN=82
> ----- END -----
> 
> As you can see: in packets are correct, out packets wont work this way.
> And here's a snippet of code from the linphone output:
> 
> ----- LINPHONE OUTPUT -----
> | INFO1 | <udp.c: 186> info: Message from 62.203.248.134:5060
> | INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 10.0.0.4:5060;branch=z9hG4bK3949380641
> From: <sip:address@hidden>;tag=3340962715
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Contact: <sip:address@hidden>
> max-forwards: 10
> user-agent: oSIP/Linphone-0.12.0
> Content-Type: application/sdp
> Content-Length:   242
> ----- END -----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]