Another error/issue and resulting workaround for this:
System: MDC 2.8 Tch Kernal 1.3
Tunneldroid Version 0.6
Issue:
My .ovpn files has 2 entries for REMOTE parameter. This should allow me to check/attempt VPN connections with the same CERT & credentials to multiple VPN Endpoints. In my case, the first endpoint is my home 10.x.y.z wireless network on my DMZ port of my Firewall system. The second IP is my External internet based IP.
When I run openvpn via connectbot command prompt with this config file in either wireless, or via data plan, it connects and I can VPN into my systems.
However When using tunneldroid, I can successfully connect via home WiFi, but when I try via my dataplan connection, it doesnt connect.
To test this, I made a copy of my .ovpn config file, and then in the copy I only made 1 change, commenting out the first REMOTE entry, so that this .ovpn config will try the internet based address first. This works perfectly. I then disconnect and try the first one (with wifi first then internet 2nd) and it still fails.
In the log (Thanks for that feature Chris), I get the follow entries at the end. (italics information I have commented out for security reasons)
Mon Nov 9 13:48:21 2009 OpenVPN 2.1_rc15 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Sep 15 2009
..... [stuff in between removed]
Mon Nov 9 13:48:50 2009 Data Channel Encrypt: Cipher blah blah blah
Mon Nov 9 13:48:50 2009 Data Channel Encrypt: Using blah blah blah
Mon Nov 9 13:48:50 2009 Data Channel Decrypt: Cipher blah blah blah
Mon Nov 9 13:48:50 2009 Data Channel Decrypt: Using blah blah blah
Mon Nov 9 13:48:50 2009 Control Channel: TLSv1, cipher blah blah blah
Mon Nov 9 13:48:50 2009 [ASTARO-MACHINE-NAME] Peer Connection Initiated with WW.XX.YY.ZZ:443
Mon Nov 9 13:48:51 2009 SENT CONTROL [ASTARO-MACHINE-NAME]: 'PUSH_REQUEST' (status=1)
Mon Nov 9 13:48:51 2009 event_wait : Interrupted system call (code=4)
Mon Nov 9 13:48:51 2009 TCP/UDP: Closing socket
Mon Nov 9 13:48:51 2009 SIGTERM[hard,] received, process exiting
Now based on the start and end time, I see 30 seconds, so I am guessing that Chris has a hard coded 30 second time out. Might be good to know, and to advise only 1 REMOTE option per config. Or a change to the code to fix this.
This post has been edited by cyde: 09 November 2009 - 03:08 AM