Reply
Thread Tools
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.
 
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#2
ah! i merged the two up scripts /etc/openvpn/maemo-update-resolvconf and /etc/openvpn/nokia.up into a single up script. mc-tool now adds the local ip address as follows:
Code:
       (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
      (string) local-ip-address = 10.8.0.6
Using wireshark on wlan0 i can still see Request : REGISTER sip:xx.dyndns.org and sip connection is not successful.

any ideas?
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:43.