[Blink] SIP Problem with private IP addr

Fabrice Rochette blink at uche.org
Sun Nov 7 20:56:20 CET 2010


Hi BLINK team,
I'm trying 0.20.2 on 10.6.4.

I'm trying to setup a SIP account. The SIP server is behind a VPN tunnel (which is configured properly), no NAT, only direct private range routing.
On my mac I have several interfaces and several local IP addr.

I have 2 interfaces, en1 and tun0.

I'm trying to connect to 172.18.0.5 which is behind tun0.
route : 172.18/24          10.20.20.5         UGSc            2        0    tun0

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
	media: <unknown subtype>
	status: active
tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 10.75.75.6 --> 10.20.20.5 netmask 0xffffffff 
	open (pid 82632)

When I try to register, the IP 10.20.20.6 should be sent in the SIP msgs. What I'm seeing in the logs is that the 192.168.0.12 is included instead of the 10.20.20.6.

SENDING: Packet 214, +0:16:35.492415
2010-11-07 20:49:17.539795: 192.168.0.12:53845 -(SIP over UDP)-> 172.18.0.5:5060
SUBSCRIBE sip:1777 at 172.18.0.5 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.12:53845;rport;branch=qwerty
Max-Forwards: 70
From: "Fabrice Rochette" <sip:1777 at 172.18.0.5>;tag=abcd
To: <sip:1777 at 172.18.0.5>
Contact: <sip:deadbeef at 10.20.20.6:53845>
Call-ID: uiguggiu
CSeq: 29653 SUBSCRIBE
Route: <sip:172.18.0.5;lr>
Event: message-summary
Expires: 3600
Accept: application/simple-message-summary
Allow-Events: presence.winfo, message-summary, xcap-diff, presence
User-Agent: Blink 0.20.2 (MacOSX)
Content-Length:  0



Any clue?

Thanks for your feedback.

Cheers,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20101107/e4e067e5/attachment.html>


More information about the Blink mailing list