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: dhiraj.2.bhuyan
Subject: RE: [Linphone-users] Linphone and hardware routers (NAT for ADSL)
Date: Mon, 15 Dec 2003 09:24:42 -0000

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 -----

Any help appreciated!

-- Daniel



_______________________________________________
Linphone-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/linphone-users




reply via email to

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