[Rtcomm] [Rtcomm] [Bug 1860] Won't pass through VPN
From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.orgDate: Sat Aug 15 00:24:05 EEST 2009
- Previous message: [Rtcomm] [Bug 4910] IRC Chat plugin does not properly handle nickname changes
- Next message: [Rtcomm] [Bug 1860] Won't pass through VPN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
https://bugs.maemo.org/show_bug.cgi?id=1860 bugzilla.org.jog at antichef.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla.org.jog at antichef.ne | |t ------- Comment #29 from bugzilla.org.jog at antichef.net 2009-08-15 00:24 GMT+3 ------- Props to Mikhail Zabaluev for discovering a workaround, and Dave Platt for automating it. I must add that supplying the VPN host as a VOIP proxy breaks the connection, using the internal and external VPN host IPs. So I recommend commenting out this line: mc-account set sip2 string:proxy-host=vpn-host.example.com and only trying to use it if the connection fails. I also recommend looping on sip accounts so they all get set in a generic way, regardless of how many accounts there are. So the nokia.up script would look like this: #!/bin/sh for acct in $(ls -d /var/lib/gconf/apps/telepathy/mc/accounts/sip* | while read i; do echo $(basename $i); done); do\ # Force the VPN SIP account to bind itself to the # VPN address we have just been allocated. mc-account set $acct string:local-ip-address=$4 # Use the VPN host's address as the SIP proxy, # since we can't count on any other being reachable. #mc-account set $acct string:proxy-host=vpn-host.example.com done For a more generic nokia.down, use: #!/bin/sh # When the VPN goes down, remove the forcible binding # of the SIP account to our VPN IP address (since it # no longer exists) and remove the requirement to use the # host-side VPN host address as the SIP proxy. for acct in $(find /var/lib/gconf/apps/telepathy/mc/accounts -name sip\* | sed 's@/var/lib/gconf@@g'); do\ gconftool --unset ${acct}/param-local-ip-address gconftool --unset ${acct}/param-proxy-host done -- Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email Replies to this email are NOT read, instead please add comments at https://bugs.maemo.org/show_bug.cgi?id=1860 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
- Previous message: [Rtcomm] [Bug 4910] IRC Chat plugin does not properly handle nickname changes
- Next message: [Rtcomm] [Bug 1860] Won't pass through VPN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]