View Single Post
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#1
Guys,
I have N900 talking nicely to the openvpn server. The traffic for web/email go through tun0 but i can still see Sip register going over wlan0 (using wireshark).

I have setup the nokia.up and nokia.down scripts as specified in famous bug 1860. My question to you guys is that do you need to change your sip uri in voip settings from public address to private address say from 10@xx.dyndns.org to 10@10.8.0.1. I suppose the outbound proxy has to be blank.

This is my client.conf
Code:
client
script-security 2
up /etc/openvpn/nokia.up
down /etc/openvpn/nokia.down
ipchange /etc/openvpn/add_default_route.sh
up /etc/openvpn/maemo-update-resolvconf
plugin /opt/openvpn/lib/openvpn/openvpn-down-root.so "script_type=down /etc/openvpn/maemo-update-resolvconf"
dev tun
proto udp
remote xx.dyndns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
comp-lzo
verb 3
The sip settings are as follows:
Code:
#mc-tool show sofiasip/sip/_xx_2edyndns_2eorg0
     Account: sofiasip/sip/_xx_2edyndns_2eorg0
Display Name: 20@xx.dyndns.org
  Normalized: sip:20@xx.dyndns.org
     Enabled: enabled
    Connects: automatically
    Nickname: 20@xx.dyndns.org
   Automatic: available
     Current: offline
   Requested: available

      (string) password = something
      (string) account = 20@xx.dyndns.org
        (bool) discover-binding = false
        (bool) discover-stun = true
      (string) keepalive-mechanism = register
      (string) transport = udp
        (uint) keepalive-interval = 30
        (uint) port = 5065
        (bool) loose-routing = false
I dont see the local ip attached to the account which nokia.up should have done. Is it because there are two up scripts in client.conf?

Last edited by rajil.s; 2010-04-12 at 06:03.