[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Linphone and hardware routers (NAT for ADSL)
From: |
Daniel Schregenberger |
Subject: |
[Linphone-users] Linphone and hardware routers (NAT for ADSL) |
Date: |
Sun, 14 Dec 2003 16:57:25 +0100 |
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] Linphone and hardware routers (NAT for ADSL),
Daniel Schregenberger <=