FORUMS
Remove All Ads from XDA
Post Reply Email Thread
Since I bought my HTC Hero two weeks ago I can't stop enjoing the device.
Except one thing: Currently no OpenVPN client exists yet for the Android platform.

While searching Google I could find people referring to successfull ports of openvpn, but all discussions were vague and all links were dead.


This resulted in the motivation to work on making openvpn available on Android.
For the last weeks I have been reading documentation and already started coding a very basic GUI. (listing and editing configuration files)

Being fairly novice to Android, and expecting I'm not the only one envying such functionality I am starting a Call for Participation trying to reach other developers interested to work on the project.

As structure of this application I see the following parts:
1) GUI stuff to manage configurations (view, create, edit and delete). Tunnel management (connect, disconnect, view log, view ip) would also be done here. (language: java)
2) background daemon sending notifications about the tunnel state (don't know if that's necessary) (language: java)
3) ported openvpn client that parses the config and does the real work. (language: c)

It looks like other projects already provide the necessary tun kernel drivers. Rooting your device will be necessary to be able to load the driver.

Being supportive to open source software I'd like to keep the code open.
Discussions about selling the (compiled) GUI on the Market are possible.


Interested developers can reply here or contact me at [email protected].


Some interesting links:
http://openvpn.net/index.php/open-source/downloads.html
http://developer.android.com/sdk/ndk/1.5_r1/index.html
http://code.google.com/p/get-a-robot-vpnc/

Posted on xda-developers and MoDaCo.
2nd September 2009, 06:07 PM |#2  
Junior Member
Thanks Meter: 0
 
More
Please post if you find a openvpn GUI for the HTC Magic / Hero

Best regards
5th September 2009, 06:29 PM |#3  
jeremy89632's Avatar
Senior Member
Flag Singapore
Thanks Meter: 3
 
More
I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.

Its in the Marketplace now, I guess?
8th September 2009, 01:17 PM |#4  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by jeremy89632

I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.

Its in the Marketplace now, I guess?

Searched for it in the SG App directory and couldn't find it there.

It doesn't show up either in the US Market. Could you please attach an apk for it?
9th September 2009, 05:07 AM |#5  
jeremy89632's Avatar
Senior Member
Flag Singapore
Thanks Meter: 3
 
More
Quote:
Originally Posted by stickman

Searched for it in the SG App directory and couldn't find it there.

It doesn't show up either in the US Market. Could you please attach an apk for it?

Can you go to codeandroid.org forums and open a thread to ask about it?
11th September 2009, 03:41 AM |#6  
Junior Member
Thanks Meter: 2
 
More
OpenVPN 2.1 available
You'll find the port here:

http://github.com/fries

A port of liblzo, patches to openssl to support blowfish and openvpn 2.1 it self.

Precompiled binaries are available here:

http://github.com/fries/android-exte...nvpn/downloads

There is currently no installer but you can copy the file to your device with the adb command.

I'm also working on an app to monitor and configure vpns.

Best Regards
25th July 2010, 06:48 PM |#7  
Senior Member
Flag Shanghai
Thanks Meter: 4
 
More
Well the routes are different.
In the phone you have 10.0.0.0/8 via 99.255 which I wonder where it came from...
Also I don't the equivalent to the .131 there.

I guess you can try removing that and manually add routes to be similar to the windows ones.
25th July 2010, 06:51 PM |#8  
Senior Member
Flag Shanghai
Thanks Meter: 4
 
More
But if your service is paid for, you ask there support. Then can check the logs and tell you if there is any thing wrong with your client.
25th July 2010, 07:11 PM |#9  
Member
Thanks Meter: 5
 
More
Yes, I think I see the point now. I will try their support forums, but I sort of doubt they'll be able to see any problems because it seems that they'd be sending me all necessary information, but it's getting altered on my end so that no data I send/recv ever reaches them.
26th July 2010, 07:46 AM |#10  
Member
Thanks Meter: 5
 
More
Well, my provider's troubleshooting admin wasn't able to figure out the cause of the problem. For some inexplicable reason, everything is getting routed to the broadcast address of 10.19.99.255.

At first, I thought there was a difference in openvpn binaries, so I tried Friedrich's 2.1 version and got the same result.
The symbolic links for bb to get ifconfig and route are there;
busybox says it's installed;
I re-pushed tun.ko from here apparently appropriate for my kernel (2.6.32.9-27227-g3c98b0d).

How are you guys getting this working?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes